Home
last modified time | relevance | path

Searched refs:relative_error (Results 1 – 3 of 3) sorted by relevance

/external/ceres-solver/internal/ceres/
Dgradient_checking_cost_function.cc60 double *relative_error, in IsClose() argument
67 if (!relative_error) { in IsClose()
68 relative_error = &local_relative_error; in IsClose()
71 *relative_error = *absolute_error / max(fabs(x), fabs(y)); in IsClose()
75 *relative_error = *absolute_error; in IsClose()
77 return fabs(*relative_error) < fabs(relative_precision); in IsClose()
177 double relative_error, absolute_error; in Evaluate() local
182 &relative_error, in Evaluate()
185 relative_error); in Evaluate()
190 absolute_error, relative_error, in Evaluate()
/external/eigen/doc/examples/
DTutorialLinAlgExComputeSolveError.cpp12 double relative_error = (A*x - b).norm() / b.norm(); // norm() is L2 norm in main() local
13 cout << "The relative error is:\n" << relative_error << endl; in main()
/external/chromium-trace/trace-viewer/src/base/unittest/
Dassertions.js193 var relative_error = Math.abs(a - b) / (a + b);
194 if (relative_error < epsilon)
197 ' to be within ' + epsilon + ' was ' + relative_error;