Lines Matching refs:numsamples_
39 numsamples_ = 1; in Stat1()
53 numsamples_ = w; in Stat1()
59 numsamples_ = stat.numsamples_; in Stat1()
63 numsamples_ = NumType(); in Clear()
70 numsamples_ = stat.numsamples_;
77 numsamples_ += stat.numsamples_;
84 numsamples_ -= stat.numsamples_;
91 numsamples_ *= k;
105 NumType numSamples() const { return numsamples_; } in numSamples()
112 if (numsamples_ == 0) return VType(); in Mean()
113 return sum_ * (1.0 / numsamples_); in Mean()
119 if (numsamples_ == 0) return VType(); in Mean()
120 VType mean = sum_ * (1.0 / numsamples_); in Mean()
123 if (numsamples_ == 1) { in Mean()
126 VType avg_squares = sum_squares_ * (1.0 / numsamples_); in Mean()
127 *stddev = Sqrt(numsamples_ / (numsamples_ - 1.0) * (avg_squares - Sqr(mean))); in Mean()
147 NumType numsamples_; // sum of weight[i]; variable