// We want to reuse the object, sometimes. internal virtual void Reset(long numSamples, double a0, double a1, double s0, double s1, SampleStat.MinMax minmax) { this.numSamples = numSamples; this.a0 = a0; this.a1 = a1; this.s0 = s0; this.s1 = s1; this.minmax.Reset(minmax); }
public virtual void Reset(SampleStat.MinMax other) { min = other.Min(); max = other.Max(); }