Searched refs:residual_blocks (Results 1 - 21 of 21) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dblock_jacobian_writer.cc60 const vector<ResidualBlock*>& residual_blocks = program.residual_blocks(); local
67 for (int i = 0; i < residual_blocks.size(); ++i) {
68 ResidualBlock* residual_block = residual_blocks[i];
95 for (int i = 0; i < residual_blocks.size(); ++i) {
96 const ResidualBlock* residual_block = residual_blocks[i];
166 const vector<ResidualBlock*>& residual_blocks = local
167 program_->residual_blocks();
169 bs->rows.resize(residual_blocks.size());
170 for (int i = 0; i < residual_blocks
[all...]
H A Dreorder_program_test.cc87 const vector<ResidualBlock*>& residual_blocks = local
88 problem.program().residual_blocks();
96 expected_residual_blocks.push_back(residual_blocks[4]);
97 expected_residual_blocks.push_back(residual_blocks[1]);
98 expected_residual_blocks.push_back(residual_blocks[0]);
99 expected_residual_blocks.push_back(residual_blocks[5]);
100 expected_residual_blocks.push_back(residual_blocks[2]);
101 expected_residual_blocks.push_back(residual_blocks[3]);
111 EXPECT_EQ(residual_blocks.size(), expected_residual_blocks.size());
113 EXPECT_EQ(residual_blocks[
[all...]
H A Dcompressed_row_jacobian_writer.cc53 const vector<ResidualBlock*>& residual_blocks = local
54 program->residual_blocks();
56 row_blocks.resize(residual_blocks.size());
57 for (int i = 0; i < residual_blocks.size(); ++i) {
58 row_blocks[i] = residual_blocks[i]->NumResiduals();
67 program->residual_blocks()[residual_id];
82 const vector<ResidualBlock*>& residual_blocks = local
83 program_->residual_blocks();
90 for (int i = 0; i < residual_blocks.size(); ++i) {
91 ResidualBlock* residual_block = residual_blocks[
[all...]
H A Dparameter_block_ordering.cc123 const vector<ResidualBlock*>& residual_blocks = program.residual_blocks(); local
124 for (int i = 0; i < residual_blocks.size(); ++i) {
125 const ResidualBlock* residual_block = residual_blocks[i];
H A Dreorder_program.cc191 vector<ResidualBlock*>* residual_blocks = program->mutable_residual_blocks(); local
192 vector<int> min_position_per_residual(residual_blocks->size());
193 for (int i = 0; i < residual_blocks->size(); ++i) {
194 ResidualBlock* residual_block = (*residual_blocks)[i];
208 CHECK_EQ(offsets.back(), residual_blocks->size())
226 (*residual_blocks).size(), static_cast<ResidualBlock*>(NULL));
227 for (int i = 0; i < residual_blocks->size(); ++i) {
238 reordered_residual_blocks[offsets[bucket]] = (*residual_blocks)[i];
H A Dprogram_evaluator.h190 const ResidualBlock* residual_block = program_->residual_blocks()[i];
336 const vector<ResidualBlock*>& residual_blocks = program.residual_blocks(); local
339 for (int i = 0; i < residual_blocks.size(); ++i) {
340 const int num_residuals = residual_blocks[i]->NumResiduals();
H A Dproblem_test.cc389 return problem->program().residual_blocks()[block];
400 find(problem->program().residual_blocks().begin(),
401 problem->program().residual_blocks().end(),
402 residual_block) != problem->program().residual_blocks().end();
885 vector<ResidualBlockId> residual_blocks; local
886 problem.GetResidualBlocks(&residual_blocks);
887 ExpectVectorContainsUnordered(expected_residual_blocks, residual_blocks);
945 vector<ResidualBlockId> residual_blocks; local
961 &residual_blocks);
964 residual_blocks);
[all...]
H A Dcoordinate_descent_minimizer.cc100 const vector<ResidualBlock*>& residual_blocks = program.residual_blocks(); local
101 for (int i = 0; i < residual_blocks.size(); ++i) {
102 ResidualBlock* residual_block = residual_blocks[i];
H A Ddense_jacobian_writer.h78 program_->residual_blocks()[residual_id];
H A Ddynamic_compressed_row_jacobian_writer.cc72 program_->residual_blocks()[residual_id];
H A Dgradient_checking_cost_function.cc279 const vector<ResidualBlock*>& residual_blocks = program->residual_blocks(); local
280 for (int i = 0; i < residual_blocks.size(); ++i) {
281 ResidualBlock* residual_block = residual_blocks[i];
H A Dproblem.cc243 vector<ResidualBlockId>* residual_blocks) const {
244 problem_impl_->GetResidualBlocks(residual_blocks);
256 vector<ResidualBlockId>* residual_blocks) const {
258 residual_blocks);
H A Dprogram.h64 const vector<ResidualBlock*>& residual_blocks() const;
H A Dproblem_impl.cc522 CHECK(std::find(program_->residual_blocks().begin(),
523 program_->residual_blocks().end(),
524 residual_block) != program_->residual_blocks().end())
616 ((evaluate_options.residual_blocks.size() > 0)
617 ? evaluate_options.residual_blocks : program_->residual_blocks());
810 vector<ResidualBlockId>* residual_blocks) const {
811 CHECK_NOTNULL(residual_blocks);
812 *residual_blocks = program().residual_blocks();
[all...]
H A Dproblem_impl.h154 void GetResidualBlocks(vector<ResidualBlockId>* residual_blocks) const;
162 vector<ResidualBlockId>* residual_blocks) const;
H A Dsolver_impl.h115 const vector<ResidualBlock*>& residual_blocks);
H A Dgradient_checking_cost_function_test.cc394 for (int i = 0; i < program.residual_blocks().size(); ++i) {
397 program.residual_blocks()[i];
399 gradient_checking_program.residual_blocks()[i];
H A Dsolver_impl.cc625 const vector<ResidualBlock*>& residual_blocks = program.residual_blocks(); local
628 if (!IsParameterBlockSetIndependent(e_blocks, residual_blocks)) {
640 const vector<ResidualBlock*>& residual_blocks) {
645 for (vector<ResidualBlock*>::const_iterator it = residual_blocks.begin();
646 it != residual_blocks.end();
638 IsParameterBlockSetIndependent( const set<double*>& parameter_block_ptrs, const vector<ResidualBlock*>& residual_blocks) argument
H A Dprogram.cc64 const vector<ResidualBlock*>& Program::residual_blocks() const { function in class:ceres::internal::Program
H A Dprogram_test.cc225 ResidualBlock *expected_removed_block = problem.program().residual_blocks()[0];
/external/ceres-solver/include/ceres/
H A Dproblem.h338 // residual_blocks().size().
361 // Fills the passed residual_blocks vector with pointers to the
363 // residual_blocks.size() == NumResidualBlocks.
364 void GetResidualBlocks(vector<ResidualBlockId>* residual_blocks) const;
379 vector<ResidualBlockId>* residual_blocks) const;
406 // jacobian are ordered. If residual_blocks is empty, then it is
413 vector<ResidualBlockId> residual_blocks; member in struct:ceres::Problem::EvaluateOptions

Completed in 4215 milliseconds