예제 #1
0
        /// <summary>
        /// Gets the maximum difference between the parameters of this discrete and that discrete
        /// </summary>
        /// <param name="that">That discrete</param>
        /// <returns>The maximum difference</returns>
        public double MaxDiff(object that)
        {
            var db = that as TThis;

            if (db == null)
            {
                return(double.NegativeInfinity);
            }
            return(disc.MaxDiff(db.disc));
        }