Lines Matching refs:other
94 statistic &statistic::operator+=(const statistic &other) {
95 if (other.sampleCount == 0)
99 *this = other;
103 uint64_t newSampleCount = sampleCount + other.sampleCount;
107 double dosc = double(other.sampleCount);
108 double delta = other.meanVal - meanVal;
116 meanVal = meanVal * dscBydnsc + other.meanVal * (1 - dscBydnsc);
117 m2 = m2 + other.m2 + dscBydnsc * dosc * delta * delta;
118 minVal = std::min(minVal, other.minVal);
119 maxVal = std::max(maxVal, other.maxVal);
122 hist += other.hist;