/// <summary> /// The deep copy constructor. /// </summary> /// <param name="source">The source instance.</param> public BinErrStat(BinErrStat source) { BinBorder = source.BinBorder; BinValErrStat = new BasicStat[2]; BinValErrStat[0] = new BasicStat(source.BinValErrStat[0]); BinValErrStat[1] = new BasicStat(source.BinValErrStat[1]); TotalErrStat = new BasicStat(source.TotalErrStat); return; }
/// <summary> /// Deep copy constructor /// </summary> /// <param name="source">Source instance</param> public BinErrStat(BinErrStat source) { RefBinValDistr = source.RefBinValDistr.DeepClone(); ThisBinValDistr = source.ThisBinValDistr.DeepClone(); BinValErrStat = new BasicStat[2]; BinValErrStat[0] = new BasicStat(source.BinValErrStat[0]); BinValErrStat[1] = new BasicStat(source.BinValErrStat[1]); TotalErrStat = new BasicStat(source.TotalErrStat); return; }