Lines Matching refs:numsamples_
40 numsamples_ = 1; in Stat1()
54 numsamples_ = w; in Stat1()
60 numsamples_ = stat.numsamples_; in Stat1()
64 numsamples_ = NumType(); in Clear()
71 numsamples_ = stat.numsamples_;
78 numsamples_ += stat.numsamples_;
85 numsamples_ -= stat.numsamples_;
92 numsamples_ *= k;
106 NumType numSamples() const { return numsamples_; } in numSamples()
113 if (numsamples_ == 0) return VType(); in Mean()
114 return sum_ * (1.0 / numsamples_); in Mean()
120 if (numsamples_ == 0) return VType(); in Mean()
121 VType mean = sum_ * (1.0 / numsamples_); in Mean()
123 VType avg_squares = sum_squares_ * (1.0 / numsamples_); in Mean()
131 if (numsamples_ == 0) return VType(); in StdDev()
133 VType avg_squares = sum_squares_ * (1.0 / numsamples_); in StdDev()
144 NumType numsamples_; // sum of weight[i]; variable