MCPcopy Create free account
hub / github.com/apache/madlib / reset

Method reset

src/modules/stats/cox_prop_hazards.cpp:234–241  ·  view source on GitHub ↗

* @brief Reset the inter-iteration fields. */

Source from the content-addressed store, hash-verified

232 * @brief Reset the inter-iteration fields.
233 */
234 inline void reset() {
235 numRows = 0;
236 sum_y = 0;
237 sum_yy = 0;
238 sum_xy.fill(0);
239 sum_x.fill(0);
240 sum_xx.fill(0);
241 }
242
243 private:
244 static inline size_t arraySize(const uint16_t inWidthOfX) {

Callers 1

initializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected