OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ExpectClose
(Results
1 - 6
of
6
) sorted by null
/external/ceres-solver/internal/ceres/
test_util.h
43
bool
ExpectClose
(double x, double y, double max_abs_relative_difference);
runtime_numeric_diff_cost_function_test.cc
115
ExpectClose
(x2[i], dydx1[5 * 0 + i], kEps); // y1
116
ExpectClose
(x1[i], dydx2[5 * 0 + i], kEps);
117
ExpectClose
(2 * x2[i] * residuals[0], dydx1[5 * 1 + i], kEps); // y2
118
ExpectClose
(2 * x1[i] * residuals[0], dydx2[5 * 1 + i], kEps);
119
ExpectClose
(0.0, dydx1[5 * 2 + i], kEps); // y3
120
ExpectClose
(2 * x2[i], dydx2[5 * 2 + i], kEps);
212
ExpectClose
( x2[i] * cos(x1x2), dydx1[5 * 0 + i], kEps); // NOLINT
213
ExpectClose
( x1[i] * cos(x1x2), dydx2[5 * 0 + i], kEps); // NOLINT
214
ExpectClose
(-x2[i] * exp(-x1x2 / 10.) / 10., dydx1[5 * 1 + i], kEps);
215
ExpectClose
(-x1[i] * exp(-x1x2 / 10.) / 10., dydx2[5 * 1 + i], kEps)
[
all
...]
numeric_diff_cost_function_test.cc
119
ExpectClose
(x2[i], dydx1[5 * 0 + i], kEps); // y1
120
ExpectClose
(x1[i], dydx2[5 * 0 + i], kEps);
121
ExpectClose
(2 * x2[i] * residuals[0], dydx1[5 * 1 + i], kEps); // y2
122
ExpectClose
(2 * x1[i] * residuals[0], dydx2[5 * 1 + i], kEps);
123
ExpectClose
(0.0, dydx1[5 * 2 + i], kEps); // y3
124
ExpectClose
(2 * x2[i], dydx2[5 * 2 + i], kEps);
225
ExpectClose
( x2[i] * cos(x1x2), dydx1[5 * 0 + i], kEps);
226
ExpectClose
( x1[i] * cos(x1x2), dydx2[5 * 0 + i], kEps);
227
ExpectClose
(-x2[i] * exp(-x1x2 / 10.) / 10., dydx1[5 * 1 + i], kEps);
228
ExpectClose
(-x1[i] * exp(-x1x2 / 10.) / 10., dydx2[5 * 1 + i], kEps)
[
all
...]
polynomial_solver_test.cc
180
ExpectClose
(real(0), 42.42, kEpsilon);
181
ExpectClose
(real(1), 42.42, kEpsilon);
182
ExpectClose
(std::abs(imag(0)), 4.2, kEpsilon);
183
ExpectClose
(std::abs(imag(1)), 4.2, kEpsilon);
184
ExpectClose
(std::abs(imag(0) + imag(1)), 0.0, kEpsilon);
test_util.cc
52
bool
ExpectClose
(double x, double y, double max_abs_relative_difference) {
jet_test.cc
64
ExpectClose
(x.a, y.a, kTolerance);
65
ExpectClose
(x.v[0], y.v[0], kTolerance);
66
ExpectClose
(x.v[1], y.v[1], kTolerance);
Completed in 116 milliseconds