/external/ceres-solver/examples/ |
D | bal_problem.cc | 45 typedef Eigen::Map<Eigen::VectorXd> VectorRef; typedef 182 VectorRef angle_axis_ref(angle_axis, 3); in CameraToAngleAxisAndCenter() 194 VectorRef(center, 3) *= -1.0; in CameraToAngleAxisAndCenter() 204 VectorRef(camera, 3) = angle_axis_ref; in AngleAxisAndCenterToCamera() 211 VectorRef(camera + camera_block_size() - 6, 3) *= -1.0; in AngleAxisAndCenterToCamera() 228 VectorRef point(points + 3 * i, 3); in Normalize() 244 VectorRef point(points + 3 * i, 3); in Normalize() 255 VectorRef(center, 3) = scale * (VectorRef(center, 3) - median); in Normalize()
|
/external/ceres-solver/internal/ceres/ |
D | schur_eliminator_test.cc | 82 VectorRef f(b.get(), J.rows()); in ComputeReferenceSolution() 127 void EliminateSolveAndCompare(const VectorRef& diagonal, in EliminateSolveAndCompare() 201 ComputeReferenceSolution(VectorRef(zero.data(), A->num_cols())); in TEST_F() 202 EliminateSolveAndCompare(VectorRef(zero.data(), A->num_cols()), true, 1e-14); in TEST_F() 203 EliminateSolveAndCompare(VectorRef(zero.data(), A->num_cols()), false, 1e-14); in TEST_F() 205 ComputeReferenceSolution(VectorRef(D.get(), A->num_cols())); in TEST_F() 206 EliminateSolveAndCompare(VectorRef(D.get(), A->num_cols()), true, 1e-14); in TEST_F() 207 EliminateSolveAndCompare(VectorRef(D.get(), A->num_cols()), false, 1e-14); in TEST_F()
|
D | program_evaluator.h | 152 VectorRef(residuals, program_->NumResiduals()).setZero(); in Evaluate() 163 VectorRef(evaluate_scratch_[i].gradient.get(), in Evaluate() 261 VectorRef(gradient, num_parameters).setZero(); in Evaluate() 266 VectorRef(gradient, num_parameters) += in Evaluate() 267 VectorRef(evaluate_scratch_[i].gradient.get(), num_parameters); in Evaluate() 318 VectorRef(gradient.get(), num_parameters).setZero(); in Init()
|
D | normal_prior_test.cc | 78 (residuals - A * (VectorRef(x, num_cols) - b)).squaredNorm(); in TEST() 117 (residuals - A * (VectorRef(x, num_cols) - b)).squaredNorm(); in TEST() 123 (residuals - A * (VectorRef(x, num_cols) - b)).squaredNorm(); in TEST()
|
D | implicit_schur_complement.cc | 128 VectorRef(y, num_cols()) = in RightMultiply() 132 VectorRef(y, num_cols()).setZero(); in RightMultiply() 186 VectorRef(y, num_cols).setZero(); in BackSubstitute() 194 VectorRef(y + num_cols_e, num_cols_f) = ConstVectorRef(x, num_cols_f); in BackSubstitute()
|
D | schur_complement_solver.cc | 148 VectorRef(solution, num_rows) = llt.solve(ConstVectorRef(rhs(), num_rows)); in SolveReducedLinearSystem() 150 VectorRef(solution, num_rows) = ConstVectorRef(rhs(), num_rows); in SolveReducedLinearSystem() 368 VectorRef(solution, num_rows) in SolveReducedLinearSystemUsingSuiteSparse() 369 = VectorRef(static_cast<double*>(cholmod_solution->x), num_rows); in SolveReducedLinearSystemUsingSuiteSparse() 410 VectorRef(solution, num_rows) = ConstVectorRef(rhs(), num_rows); in SolveReducedLinearSystemUsingCXSparse() 505 VectorRef(solution, num_rows) = in SolveReducedLinearSystemUsingEigen()
|
D | corrector.cc | 115 VectorRef(residuals, num_rows) *= residual_scaling_; in CorrectResiduals() 127 VectorRef(jacobian, num_rows * num_cols) *= sqrt_rho1_; in CorrectJacobian()
|
D | dense_sparse_matrix.cc | 88 VectorRef(y, num_rows()) += matrix() * ConstVectorRef(x, num_cols()); in RightMultiply() 92 VectorRef(y, num_cols()) += in LeftMultiply() 97 VectorRef(x, num_cols()) = m_.colwise().squaredNorm(); in SquaredColumnNorm()
|
D | residual_block_test.cc | 121 VectorRef(residuals, 3).setConstant(0.0); in TEST() 149 VectorRef(residuals, 3).setConstant(0.0); in TEST() 260 VectorRef(residuals, 3).setConstant(0.0); in TEST() 307 VectorRef(residuals, 3).setConstant(0.0); in TEST()
|
D | dense_qr_solver.cc | 115 VectorRef(x, num_cols) = rhs_.head(num_cols); in SolveUsingLAPACK() 149 VectorRef(x, num_cols) = A->matrix().householderQr().solve(rhs_); in SolveUsingEigen()
|
D | dense_normal_cholesky_solver.cc | 110 VectorRef(x, num_cols) = llt.solve(rhs); in SolveUsingEigen() 151 VectorRef(x, num_cols) = in SolveUsingLAPACK()
|
D | sparse_normal_cholesky_solver.cc | 85 VectorRef(x, num_cols).setZero(); in SolveImpl() 181 const Vector b = VectorRef(rhs_and_solution, outer_product_->num_rows()); in SolveImplUsingEigen() 206 VectorRef(rhs_and_solution, outer_product_->num_rows()) = in SolveImplUsingEigen()
|
D | corrector_test.cc | 152 VectorRef res(residuals, 3); in TEST() 220 VectorRef res(residuals, 3); in TEST()
|
D | normal_prior.cc | 55 VectorRef r(residuals, num_residuals()); in Evaluate()
|
D | block_random_access_dense_matrix.cc | 83 VectorRef(values_.get(), num_rows_ * num_rows_).setZero(); in SetZero()
|
D | cgnr_linear_operator.h | 99 VectorRef(y, n).array() += ConstVectorRef(D_, n).array().square() * in RightMultiply()
|
D | cgnr_solver.cc | 76 VectorRef(x, A->num_cols()).setZero(); in SolveImpl()
|
D | schur_eliminator_impl.h | 180 VectorRef(rhs, lhs->num_rows()).setZero(); in Eliminate() 234 VectorRef(buffer, buffer_size_).setZero(); in Eliminate() 248 typename EigenTypes<kEBlockSize>::VectorRef gref(g.get(), e_block_size); in Eliminate() 317 typename EigenTypes<kEBlockSize>::VectorRef y_block(y_ptr, e_block_size); in BackSubstitute() 337 typename EigenTypes<kRowBlockSize>::VectorRef(sj.get(), row.block.size) = in BackSubstitute()
|
D | conditioned_cost_function.cc | 119 VectorRef jacobian_row(jacobians[i] + r * parameter_block_size, in Evaluate()
|
D | block_random_access_diagonal_matrix.cc | 114 VectorRef(tsm_->mutable_values(), in SetZero()
|
D | low_rank_inverse_hessian.cc | 122 VectorRef search_direction(y_ptr, num_parameters_); in RightMultiply()
|
D | conditioned_cost_function_test.cc | 85 VectorRef v2_vector(v2, kTestCostFunctionSize, 1); in TEST()
|
D | small_blas.h | 284 typename EigenTypes<kRowA>::VectorRef cref(c, num_row_a); in MatrixVectorMultiply() 335 typename EigenTypes<kColA>::VectorRef cref(c, num_col_a); in MatrixTransposeVectorMultiply()
|
D | block_sparse_matrix.cc | 130 VectorRef(x, num_cols_).setZero(); in SquaredColumnNorm() 140 VectorRef(x + col_block_pos, col_block_size) += m.colwise().squaredNorm(); in SquaredColumnNorm()
|
/external/ceres-solver/include/ceres/internal/ |
D | eigen.h | 43 typedef Eigen::Map<Vector> VectorRef; typedef 79 VectorRef; typedef
|