예제 #1
0
 // 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);
 }
예제 #2
0
 public virtual void Reset(SampleStat.MinMax other)
 {
     min = other.Min();
     max = other.Max();
 }