Searched refs:dydx2 (Results 1 – 1 of 1) sorted by relevance
/external/ceres-solver/internal/ceres/ |
D | numeric_diff_test_utils.cc | 65 double dydx2[15]; // 3 x 5, row major. in ExpectCostFunctionEvaluationIsNearlyCorrect() local 66 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; in ExpectCostFunctionEvaluationIsNearlyCorrect() 82 ExpectClose(x1[i], dydx2[5 * 0 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect() 84 ExpectClose(2 * x1[i] * residuals[0], dydx2[5 * 1 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect() 86 ExpectClose(2 * x2[i], dydx2[5 * 2 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect() 135 double dydx2[10]; in ExpectCostFunctionEvaluationIsNearlyCorrect() local 136 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; in ExpectCostFunctionEvaluationIsNearlyCorrect() 152 ExpectClose( x1[i] * cos(x1x2), dydx2[5 * 0 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect() 154 ExpectClose(-x1[i] * exp(-x1x2 / 10.) / 10., dydx2[5 * 1 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect()
|