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

Function PerturbPoint3

examples/bal_problem.cc:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void PerturbPoint3(std::function<double()> dist, double* point) {
59 for (int i = 0; i < 3; ++i) {
60 point[i] += dist();
61 }
62}
63
64double Median(std::vector<double>* data) {
65 auto mid_point = data->begin() + data->size() / 2;

Callers 1

PerturbMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected