Пример #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);
 }
Пример #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);
 }