Ejemplo n.º 1
0
 /// <summary>
 /// Copies current stat values fron another instance.
 /// </summary>
 /// <param name="other">Instance from which to copy.</param>
 internal void CopyFrom(StatsHelperClass other)
 {
     _numSamples           = other.NumSamples;
     _mean                 = other.Mean;
     _unNormalizedVariance = other.Variance * (_numSamples - 1);
     _minMax.Reset(other.MinMaxModule);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Copies current stat values fron another instance.
 /// </summary>
 /// <param name="other">Instance from which to copy.</param>
 internal void CopyFrom(StatsHelperClass other)
 {
     _numSamples = other.NumSamples;
     _mean = other.Mean;
     _unNormalizedVariance = other.Variance * (_numSamples - 1);
     _minMax.Reset(other.MinMaxModule);
 }