MCPcopy Create free account
hub / github.com/apache/arrow / MergeFrom

Method MergeFrom

cpp/src/arrow/compute/kernels/aggregate_var_std.cc:149–152  ·  view source on GitHub ↗

Combine `m2` from two chunks (m2 = n*s2) https://www.emathzone.com/tutorials/basic-statistics/combined-variance.html

Source from the content-addressed store, hash-verified

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;

Callers 2

ConsumeMethod · 0.45
MergeFromMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected