Searched refs:sq_norm (Results 1 – 6 of 6) sorted by relevance
/external/ceres-solver/internal/ceres/ |
D | corrector_test.cc | 61 double sq_norm = residuals * residuals; in TEST() local 63 const double kRho[] = {sq_norm, 0.1, -0.01}; in TEST() 78 Corrector c(sq_norm, kRho); in TEST() 89 double sq_norm = residuals * residuals; in TEST() local 92 Corrector c(sq_norm, kRho); in TEST() 117 double sq_norm = residuals * residuals; in TEST() local 134 Corrector c(sq_norm, kRho); in TEST() 176 const double sq_norm = res.dot(res); in TEST() local 178 rho[0] = sq_norm; in TEST() 186 const double kD = 1 + 2 * rho[2] / rho[1] * sq_norm; in TEST() [all …]
|
D | corrector.cc | 41 Corrector::Corrector(const double sq_norm, const double rho[3]) { in Corrector() argument 42 CHECK_GE(sq_norm, 0.0); in Corrector() 81 if ((sq_norm == 0.0) || (rho[2] <= 0.0)) { in Corrector() 100 const double D = 1.0 + 2.0 * sq_norm * rho[2] / rho[1]; in Corrector() 109 alpha_sq_norm_ = alpha / sq_norm; in Corrector()
|
D | c_api.cc | 104 virtual void Evaluate(double sq_norm, double* rho) const { in Evaluate() argument 105 (*loss_function_)(user_data_, sq_norm, rho); in Evaluate()
|
D | corrector.h | 66 explicit Corrector(double sq_norm, const double rho[3]);
|
/external/ceres-solver/include/ceres/ |
D | loss_function.h | 114 virtual void Evaluate(double sq_norm, double out[3]) const = 0; 378 virtual void Evaluate(double sq_norm, double out[3]) const { in Evaluate() argument 380 rho_->Evaluate(sq_norm, out); in Evaluate()
|
/external/ceres-solver/examples/ |
D | fields_of_experts.cc | 78 void FieldsOfExpertsLoss::Evaluate(double sq_norm, double rho[3]) const { in Evaluate() argument 80 const double sum = 1.0 + sq_norm * c; in Evaluate()
|