Searched defs:relative_error (Results 1 - 2 of 2) sorted by relevance
/external/eigen/doc/examples/ |
H A D | TutorialLinAlgExComputeSolveError.cpp | 12 double relative_error = (A*x - b).norm() / b.norm(); // norm() is L2 norm local 13 cout << "The relative error is:\n" << relative_error << endl;
|
/external/ceres-solver/internal/ceres/ |
H A D | gradient_checking_cost_function.cc | 60 double *relative_error, 67 if (!relative_error) { 68 relative_error = &local_relative_error; 71 *relative_error = *absolute_error / max(fabs(x), fabs(y)); 75 *relative_error = *absolute_error; 77 return fabs(*relative_error) < fabs(relative_precision); 177 double relative_error, absolute_error; local 182 &relative_error, 185 relative_error); 190 absolute_error, relative_error, 59 IsClose(double x, double y, double relative_precision, double *relative_error, double *absolute_error) argument [all...] |
Completed in 258 milliseconds