Lines Matching refs:residuals
62 double* residuals, in Evaluate() argument
65 residuals[i] = i + 1; in Evaluate()
149 Vector residuals(num_residuals); in EvaluateAndCompare() local
150 residuals.setConstant(-2000); in EvaluateAndCompare()
167 expected_residuals != NULL ? &residuals[0] : NULL, in EvaluateAndCompare()
183 &residuals[0], in EvaluateAndCompare()
195 (i & 1) ? expected.residuals : NULL, in CheckAllEvaluationCombinations()
570 double* residuals, in Evaluate() argument
574 residuals[0] = x1 * x1; in Evaluate()
575 residuals[1] = x2 * x2; in Evaluate()
630 double residuals[2] = { -2, -2 }; in TEST() local
631 ASSERT_TRUE(evaluator->Evaluate(state, &cost, residuals, NULL, NULL)); in TEST()
633 EXPECT_EQ(4, residuals[0]); in TEST()
634 EXPECT_EQ(9, residuals[1]); in TEST()
640 double residuals[2] = { -2, -2}; in TEST() local
644 residuals, in TEST()
648 EXPECT_EQ(4, residuals[0]); in TEST()
649 EXPECT_EQ(9, residuals[1]); in TEST()