Example #1
0
 /// <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;
 }
Example #2
0
 /// <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;
 }