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

/external/eigen/doc/examples/
H A DTutorialLinAlgExComputeSolveError.cpp12 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 Dgradient_checking_cost_function.cc60 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...]
/external/chromium-trace/trace-viewer/src/base/unittest/
H A Dassertions.js193 var relative_error = Math.abs(a - b) / (a + b);
194 if (relative_error < epsilon)
197 ' to be within ' + epsilon + ' was ' + relative_error;

Completed in 223 milliseconds