Home
last modified time | relevance | path

Searched refs:VectorRef (Results 1 – 25 of 40) sorted by relevance

12

/external/ceres-solver/examples/
Dbal_problem.cc45 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/
Dschur_eliminator_test.cc82 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()
Dprogram_evaluator.h152 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()
Dnormal_prior_test.cc78 (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()
Dimplicit_schur_complement.cc128 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()
Dschur_complement_solver.cc148 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()
Dcorrector.cc115 VectorRef(residuals, num_rows) *= residual_scaling_; in CorrectResiduals()
127 VectorRef(jacobian, num_rows * num_cols) *= sqrt_rho1_; in CorrectJacobian()
Ddense_sparse_matrix.cc88 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()
Dresidual_block_test.cc121 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()
Ddense_qr_solver.cc115 VectorRef(x, num_cols) = rhs_.head(num_cols); in SolveUsingLAPACK()
149 VectorRef(x, num_cols) = A->matrix().householderQr().solve(rhs_); in SolveUsingEigen()
Ddense_normal_cholesky_solver.cc110 VectorRef(x, num_cols) = llt.solve(rhs); in SolveUsingEigen()
151 VectorRef(x, num_cols) = in SolveUsingLAPACK()
Dsparse_normal_cholesky_solver.cc85 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()
Dcorrector_test.cc152 VectorRef res(residuals, 3); in TEST()
220 VectorRef res(residuals, 3); in TEST()
Dnormal_prior.cc55 VectorRef r(residuals, num_residuals()); in Evaluate()
Dblock_random_access_dense_matrix.cc83 VectorRef(values_.get(), num_rows_ * num_rows_).setZero(); in SetZero()
Dcgnr_linear_operator.h99 VectorRef(y, n).array() += ConstVectorRef(D_, n).array().square() * in RightMultiply()
Dcgnr_solver.cc76 VectorRef(x, A->num_cols()).setZero(); in SolveImpl()
Dschur_eliminator_impl.h180 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()
Dconditioned_cost_function.cc119 VectorRef jacobian_row(jacobians[i] + r * parameter_block_size, in Evaluate()
Dblock_random_access_diagonal_matrix.cc114 VectorRef(tsm_->mutable_values(), in SetZero()
Dlow_rank_inverse_hessian.cc122 VectorRef search_direction(y_ptr, num_parameters_); in RightMultiply()
Dconditioned_cost_function_test.cc85 VectorRef v2_vector(v2, kTestCostFunctionSize, 1); in TEST()
Dsmall_blas.h284 typename EigenTypes<kRowA>::VectorRef cref(c, num_row_a); in MatrixVectorMultiply()
335 typename EigenTypes<kColA>::VectorRef cref(c, num_col_a); in MatrixTransposeVectorMultiply()
Dblock_sparse_matrix.cc130 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/
Deigen.h43 typedef Eigen::Map<Vector> VectorRef; typedef
79 VectorRef; typedef

12