Combine `m2` from two chunks (m2 = n*s2) https://www.emathzone.com/tutorials/basic-statistics/combined-variance.html
| 147 | // Combine `m2` from two chunks (m2 = n*s2) |
| 148 | // https://www.emathzone.com/tutorials/basic-statistics/combined-variance.html |
| 149 | void MergeFrom(const ThisType& state) { |
| 150 | this->all_valid = this->all_valid && state.all_valid; |
| 151 | this->moments.MergeFrom(level, state.moments); |
| 152 | } |
| 153 | |
| 154 | const int level; |
| 155 | const int32_t decimal_scale; |