Searched refs:mSquareSum (Results 1 – 1 of 1) sorted by relevance
120 double mSquareSum; variable123 stream_stats() : mSum(0), mSquareSum(0), mCnt(0) {}; in stream_stats()129 return sqrt(mSquareSum / mCnt - mSum * mSum / (mCnt * mCnt)); in get_std()133 mSquareSum += (double)num * (double)num; in add()137 if (mSum < num || mSquareSum < (double)num * (double)num) return; in evict()139 mSquareSum -= (double)num * (double)num; in evict()