Searched refs:dydx1 (Results 1 – 1 of 1) sorted by relevance
/external/ceres-solver/internal/ceres/ |
D | numeric_diff_test_utils.cc | 64 double dydx1[15]; // 3 x 5, row major. in ExpectCostFunctionEvaluationIsNearlyCorrect() local 66 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; in ExpectCostFunctionEvaluationIsNearlyCorrect() 81 ExpectClose(x2[i], dydx1[5 * 0 + i], tolerance); // y1 in ExpectCostFunctionEvaluationIsNearlyCorrect() 83 ExpectClose(2 * x2[i] * residuals[0], dydx1[5 * 1 + i], tolerance); // y2 in ExpectCostFunctionEvaluationIsNearlyCorrect() 85 ExpectClose(0.0, dydx1[5 * 2 + i], tolerance); // y3 in ExpectCostFunctionEvaluationIsNearlyCorrect() 134 double dydx1[10]; in ExpectCostFunctionEvaluationIsNearlyCorrect() local 136 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; in ExpectCostFunctionEvaluationIsNearlyCorrect() 151 ExpectClose( x2[i] * cos(x1x2), dydx1[5 * 0 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect() 153 ExpectClose(-x2[i] * exp(-x1x2 / 10.) / 10., dydx1[5 * 1 + i], tolerance); in ExpectCostFunctionEvaluationIsNearlyCorrect()
|