/external/ceres-solver/examples/ |
bal_problem.cc | 45 typedef Eigen::Map<Eigen::VectorXd> VectorRef; 182 VectorRef angle_axis_ref(angle_axis, 3); 194 VectorRef(center, 3) *= -1.0; 204 VectorRef(camera, 3) = angle_axis_ref; 211 VectorRef(camera + camera_block_size() - 6, 3) *= -1.0; 228 VectorRef point(points + 3 * i, 3); 244 VectorRef point(points + 3 * i, 3); 255 VectorRef(center, 3) = scale * (VectorRef(center, 3) - median);
|
/external/ceres-solver/include/ceres/internal/ |
eigen.h | 43 typedef Eigen::Map<Vector> VectorRef; 79 VectorRef;
|
/external/ceres-solver/internal/ceres/ |
corrector.cc | 115 VectorRef(residuals, num_rows) *= residual_scaling_; 127 VectorRef(jacobian, num_rows * num_cols) *= sqrt_rho1_;
|
schur_eliminator_test.cc | 82 VectorRef f(b.get(), J.rows()); 127 void EliminateSolveAndCompare(const VectorRef& diagonal, 201 ComputeReferenceSolution(VectorRef(zero.data(), A->num_cols())); 202 EliminateSolveAndCompare(VectorRef(zero.data(), A->num_cols()), true, 1e-14); 203 EliminateSolveAndCompare(VectorRef(zero.data(), A->num_cols()), false, 1e-14); 205 ComputeReferenceSolution(VectorRef(D.get(), A->num_cols())); 206 EliminateSolveAndCompare(VectorRef(D.get(), A->num_cols()), true, 1e-14); 207 EliminateSolveAndCompare(VectorRef(D.get(), A->num_cols()), false, 1e-14);
|
normal_prior_test.cc | 78 (residuals - A * (VectorRef(x, num_cols) - b)).squaredNorm(); 117 (residuals - A * (VectorRef(x, num_cols) - b)).squaredNorm(); 123 (residuals - A * (VectorRef(x, num_cols) - b)).squaredNorm();
|
block_random_access_dense_matrix.cc | 83 VectorRef(values_.get(), num_rows_ * num_rows_).setZero();
|
cgnr_linear_operator.h | 99 VectorRef(y, n).array() += ConstVectorRef(D_, n).array().square() *
|
implicit_schur_complement.cc | 128 VectorRef(y, num_cols()) = 132 VectorRef(y, num_cols()).setZero(); 186 VectorRef(y, num_cols).setZero(); 194 VectorRef(y + num_cols_e, num_cols_f) = ConstVectorRef(x, num_cols_f);
|
normal_prior.cc | 55 VectorRef r(residuals, num_residuals());
|
program_evaluator.h | 152 VectorRef(residuals, program_->NumResiduals()).setZero(); 163 VectorRef(evaluate_scratch_[i].gradient.get(), 261 VectorRef(gradient, num_parameters).setZero(); 266 VectorRef(gradient, num_parameters) += 267 VectorRef(evaluate_scratch_[i].gradient.get(), num_parameters); 318 VectorRef(gradient.get(), num_parameters).setZero();
|
dense_sparse_matrix.cc | 88 VectorRef(y, num_rows()) += matrix() * ConstVectorRef(x, num_cols()); 92 VectorRef(y, num_cols()) += 97 VectorRef(x, num_cols()) = m_.colwise().squaredNorm();
|
dense_normal_cholesky_solver.cc | 110 VectorRef(x, num_cols) = llt.solve(rhs); 151 VectorRef(x, num_cols) =
|
dense_qr_solver.cc | 115 VectorRef(x, num_cols) = rhs_.head(num_cols); 149 VectorRef(x, num_cols) = A->matrix().householderQr().solve(rhs_);
|
block_random_access_diagonal_matrix.cc | 114 VectorRef(tsm_->mutable_values(),
|
cgnr_solver.cc | 76 VectorRef(x, A->num_cols()).setZero();
|
conditioned_cost_function.cc | 119 VectorRef jacobian_row(jacobians[i] + r * parameter_block_size,
|
residual_block_test.cc | 121 VectorRef(residuals, 3).setConstant(0.0); 149 VectorRef(residuals, 3).setConstant(0.0); 260 VectorRef(residuals, 3).setConstant(0.0); 307 VectorRef(residuals, 3).setConstant(0.0);
|
schur_complement_solver.cc | 148 VectorRef(solution, num_rows) = llt.solve(ConstVectorRef(rhs(), num_rows)); 150 VectorRef(solution, num_rows) = ConstVectorRef(rhs(), num_rows); 368 VectorRef(solution, num_rows) 369 = VectorRef(static_cast<double*>(cholmod_solution->x), num_rows); 410 VectorRef(solution, num_rows) = ConstVectorRef(rhs(), num_rows); 505 VectorRef(solution, num_rows) =
|
conditioned_cost_function_test.cc | 85 VectorRef v2_vector(v2, kTestCostFunctionSize, 1);
|
low_rank_inverse_hessian.cc | 122 VectorRef search_direction(y_ptr, num_parameters_);
|
sparse_normal_cholesky_solver.cc | 85 VectorRef(x, num_cols).setZero(); 181 const Vector b = VectorRef(rhs_and_solution, outer_product_->num_rows()); 206 VectorRef(rhs_and_solution, outer_product_->num_rows()) =
|
block_jacobi_preconditioner.cc | 129 VectorRef y_block(y + position, size);
|
block_random_access_sparse_matrix.cc | 152 VectorRef(tsm_->mutable_values(),
|
levenberg_marquardt_strategy.cc | 116 VectorRef(step, num_parameters) *= -1.0;
|
local_parameterization.cc | 47 VectorRef(x_plus_delta, size_) =
|