Home | History | Annotate | Download | only in ceres

Lines Matching refs:jacobian

70         // evaluator into the "local" jacobian. In the tests, the "subset
72 // from these jacobians. Put values in the jacobian that make this
82 MatrixRef jacobian(jacobians[k],
86 jacobian.col(j).setConstant(kFactor * (j + 1));
155 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian());
159 ASSERT_EQ(expected_num_rows, jacobian->num_rows());
160 ASSERT_EQ(expected_num_cols, jacobian->num_cols());
169 expected_jacobian != NULL ? jacobian.get() : NULL));
173 jacobian->ToDenseMatrix(&actual_jacobian);
197 (i & 4) ? expected.jacobian : NULL);
231 // Jacobian
249 // the jacobian evaluation, but requires explicit handling in the evaluators.
269 // Jacobian
286 // Add the parameters in a mixed order so the Jacobian is "checkered" with the
316 // Jacobian
363 // Jacobian
426 // Jacobian
501 // Jacobian
531 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian());
578 double* jacobian = jacobians[0];
579 if (jacobian != NULL) {
580 jacobian[0] = 2.0 * x1;
581 jacobian[1] = 0.0;
582 jacobian[2] = 0.0;
583 jacobian[3] = 2.0 * x2;
606 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian());
608 ASSERT_EQ(2, jacobian->num_rows());
609 ASSERT_EQ(2, jacobian->num_cols());
620 // Cost only; no residuals and no jacobian.
627 // Cost and residuals, no jacobian.
637 // Cost, residuals, and jacobian.
641 SetSparseMatrixConstant(jacobian.get(), -1);
646 jacobian.get()));
651 jacobian->ToDenseMatrix(&actual_jacobian);