Пример #1
0
        /// <summary>
        /// Creates a deep copy clone
        /// </summary>
        public BinDistribution DeepClone()
        {
            BinDistribution clone = new BinDistribution(this.BinBorder);

            clone.Count   = Count;
            clone.NumOf   = (int[])NumOf.Clone();
            clone.BinRate = (double[])BinRate.Clone();
            return(clone);
        }
Пример #2
0
        /// <summary>
        /// Creates the deep clone.
        /// </summary>
        public BinDistribution DeepClone()
        {
            BinDistribution clone = new BinDistribution(this.BinBorder)
            {
                Count = Count,
                NumOf = (int[])NumOf.Clone(),
                Ratio = (double[])Ratio.Clone()
            };

            return(clone);
        }