MCPcopy Create free account
hub / github.com/ceres-solver/ceres-solver / Evaluate

Function Evaluate

include/ceres/loss_function.h:406–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404 }
405
406 void Evaluate(double sq_norm, double out[3]) const override {
407 if (rho_.get() == nullptr) {
408 out[0] = sq_norm;
409 out[1] = 1.0;
410 out[2] = 0.0;
411 } else {
412 rho_->Evaluate(sq_norm, out);
413 }
414 }
415
416 void Reset(LossFunction* rho, Ownership ownership) {
417 if (ownership_ == DO_NOT_TAKE_OWNERSHIP) {

Callers 2

EvaluateMethod · 0.70
EvaluateMethod · 0.70

Calls 2

getMethod · 0.80
EvaluateMethod · 0.45

Tested by

no test coverage detected