Lines Matching refs:jacobian
69 // evaluator into the "local" jacobian. In the tests, the "subset
71 // from these jacobians. Put values in the jacobian that make this
81 MatrixRef jacobian(jacobians[k],
85 jacobian.col(j).setConstant(kFactor * (j + 1));
130 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian());
134 ASSERT_EQ(expected_num_rows, jacobian->num_rows());
135 ASSERT_EQ(expected_num_cols, jacobian->num_cols());
144 expected_jacobian != NULL ? jacobian.get() : NULL));
148 jacobian->ToDenseMatrix(&actual_jacobian);
172 (i & 4) ? expected.jacobian : NULL);
206 // Jacobian
224 // the jacobian evaluation, but requires explicit handling in the evaluators.
244 // Jacobian
261 // Add the parameters in a mixed order so the Jacobian is "checkered" with the
291 // Jacobian
338 // Jacobian
401 // Jacobian
476 // Jacobian
506 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian());
551 double* jacobian = jacobians[0];
552 if (jacobian != NULL) {
553 jacobian[0] = 2.0 * x1;
554 jacobian[1] = 0.0;
555 jacobian[2] = 0.0;
556 jacobian[3] = 2.0 * x2;
579 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian());
581 ASSERT_EQ(2, jacobian->num_rows());
582 ASSERT_EQ(2, jacobian->num_cols());
593 // Cost only; no residuals and no jacobian.
600 // Cost and residuals, no jacobian.
610 // Cost, residuals, and jacobian.
614 SetSparseMatrixConstant(jacobian.get(), -1);
619 jacobian.get()));
624 jacobian->ToDenseMatrix(&actual_jacobian);