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/webrtc/webrtc/modules/audio_processing/vad/
Dgmm_unittest.cc55 double relative_error = fabs(pdf - kPdfVoice) / kPdfVoice; in TEST() local
56 EXPECT_LE(relative_error, kAcceptedRelativeErr); in TEST()
61 relative_error = fabs(pdf - kPdfNoise) / kPdfNoise; in TEST()
62 EXPECT_LE(relative_error, kAcceptedRelativeErr); in TEST()
/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()