Lines Matching defs:residuals
62 double* residuals,
65 residuals[i] = i + 1;
80 // between Jacobians of different residuals for the same parameter.
149 Vector residuals(num_residuals);
150 residuals.setConstant(-2000);
167 expected_residuals != NULL ? &residuals[0] : NULL,
183 &residuals[0],
195 (i & 1) ? expected.residuals : NULL,
224 // Residuals
262 // Residuals
305 // Residuals
353 // Residuals
416 // Residuals
492 // Residuals
570 double* residuals,
574 residuals[0] = x1 * x1;
575 residuals[1] = x2 * x2;
620 // Cost only; no residuals and no jacobian.
627 // Cost and residuals, no jacobian.
630 double residuals[2] = { -2, -2 };
631 ASSERT_TRUE(evaluator->Evaluate(state, &cost, residuals, NULL, NULL));
633 EXPECT_EQ(4, residuals[0]);
634 EXPECT_EQ(9, residuals[1]);
637 // Cost, residuals, and jacobian.
640 double residuals[2] = { -2, -2};
644 residuals,
648 EXPECT_EQ(4, residuals[0]);
649 EXPECT_EQ(9, residuals[1]);