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

Method run

src/modules/stats/cox_prop_hazards.cpp:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29// ----------------------------------------------------------------------
30
31AnyType coxph_step_outer_transition::run(AnyType &args) {
32 if (args[0].isNull()) return args[1];
33 if (args[1].isNull()) return args[0];
34
35 CoxPHState<MutableArrayHandle<double> > stateLeft = args[0];
36 CoxPHState<ArrayHandle<double> > stateRight = args[1];
37
38 stateLeft += stateRight;
39 return stateLeft;
40}
41
42// ----------------------------------------------------------------------
43

Callers

nothing calls this directly

Calls 10

NullFunction · 0.85
transFunction · 0.85
isfiniteFunction · 0.85
cdfFunction · 0.50
isNullMethod · 0.45
rebindMethod · 0.45
sizeMethod · 0.45
initializeMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected