HomeSort by relevance Sort by last modified time
    Searched refs:x1x2 (Results 1 - 2 of 2) sorted by null

  /external/ceres-solver/internal/ceres/
numeric_diff_test_utils.cc 93 double x1x2 = 0; local
95 x1x2 += x1[i] * x2[i];
97 residuals[0] = sin(x1x2);
98 residuals[1] = exp(-x1x2 / 10);
143 double x1x2 = 0; local
145 x1x2 += x1[i] * x2[i];
151 ExpectClose( x2[i] * cos(x1x2), dydx1[5 * 0 + i], tolerance);
152 ExpectClose( x1[i] * cos(x1x2), dydx2[5 * 0 + i], tolerance);
153 ExpectClose(-x2[i] * exp(-x1x2 / 10.) / 10., dydx1[5 * 1 + i], tolerance);
154 ExpectClose(-x1[i] * exp(-x1x2 / 10.) / 10., dydx2[5 * 1 + i], tolerance)
    [all...]
runtime_numeric_diff_cost_function_test.cc 142 double x1x2 = 0; local
144 x1x2 += parameters[0][i] * parameters[1][i];
146 residuals[0] = sin(x1x2);
147 residuals[1] = exp(-x1x2 / 10);
204 double x1x2 = 0; local
206 x1x2 += x1[i] * x2[i];
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...]

Completed in 414 milliseconds