Home
last modified time | relevance | path

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

/external/ceres-solver/internal/ceres/
Dnumeric_diff_test_utils.cc93 double x1x2 = 0; in operator ()() local
95 x1x2 += x1[i] * x2[i]; in operator ()()
97 residuals[0] = sin(x1x2); in operator ()()
98 residuals[1] = exp(-x1x2 / 10); in operator ()()
143 double x1x2 = 0; in ExpectCostFunctionEvaluationIsNearlyCorrect() local
145 x1x2 += x1[i] * x2[i]; in ExpectCostFunctionEvaluationIsNearlyCorrect()
151 ExpectClose( x2[i] * cos(x1x2), dydx1[5 * 0 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect()
152 ExpectClose( x1[i] * cos(x1x2), dydx2[5 * 0 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect()
153 ExpectClose(-x2[i] * exp(-x1x2 / 10.) / 10., dydx1[5 * 1 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect()
154 ExpectClose(-x1[i] * exp(-x1x2 / 10.) / 10., dydx2[5 * 1 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect()