/// <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); }
/// <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); }