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()
122 VType avg_squares = sum_squares_ * (1.0 / numsamples_); in Mean()
130 if (numsamples_ == 0) return VType(); in StdDev()
132 VType avg_squares = sum_squares_ * (1.0 / numsamples_); in StdDev()
143 NumType numsamples_; // sum of weight[i]; variable