Home
last modified time | relevance | path

Searched refs:parameter_blocks_ (Results 1 – 10 of 10) sorted by relevance

/external/ceres-solver/internal/ceres/
Dprogram.cc56 : parameter_blocks_(program.parameter_blocks_), in Program()
61 return parameter_blocks_; in parameter_blocks()
69 return &parameter_blocks_; in mutable_parameter_blocks()
77 for (int i = 0; i < parameter_blocks_.size(); ++i) { in StateVectorToParameterBlocks()
78 if (!parameter_blocks_[i]->IsConstant() && in StateVectorToParameterBlocks()
79 !parameter_blocks_[i]->SetState(state)) { in StateVectorToParameterBlocks()
82 state += parameter_blocks_[i]->Size(); in StateVectorToParameterBlocks()
88 for (int i = 0; i < parameter_blocks_.size(); ++i) { in ParameterBlocksToStateVector()
89 parameter_blocks_[i]->GetState(state); in ParameterBlocksToStateVector()
90 state += parameter_blocks_[i]->Size(); in ParameterBlocksToStateVector()
[all …]
Dcoordinate_descent_minimizer.cc64 parameter_blocks_.clear(); in Init()
78 parameter_blocks_.push_back(parameter_map.find(*ptr_it)->second); in Init()
79 parameter_block_index[parameter_blocks_.back()] = in Init()
80 parameter_blocks_.size() - 1; in Init()
92 parameter_blocks_.push_back(parameter_blocks[i]); in Init()
126 for (int i = 0; i < parameter_blocks_.size(); ++i) { in Minimize()
127 ParameterBlock* parameter_block = parameter_blocks_[i]; in Minimize()
161 ParameterBlock* parameter_block = parameter_blocks_[j]; in Minimize()
193 for (int i = 0; i < parameter_blocks_.size(); ++i) { in Minimize()
194 parameter_blocks_[i]->SetVarying(); in Minimize()
Dresidual_block.cc58 parameter_blocks_( in ResidualBlock()
64 parameter_blocks_.get()); in ResidualBlock()
79 parameters[i] = parameter_blocks_[i]->state(); in Evaluate()
86 const ParameterBlock* parameter_block = parameter_blocks_[i]; in Evaluate()
140 const ParameterBlock* parameter_block = parameter_blocks_[i]; in Evaluate()
179 const ParameterBlock* parameter_block = parameter_blocks_[i]; in Evaluate()
207 const ParameterBlock* parameter_block = parameter_blocks_[i]; in NumScratchDoublesForEvaluate()
Ddynamic_autodiff_cost_function_test.cc324 parameter_blocks_.resize(3); in SetUp()
325 parameter_blocks_[0] = &x_[0]; in SetUp()
326 parameter_blocks_[1] = &y_[0]; in SetUp()
327 parameter_blocks_[2] = &z_[0]; in SetUp()
417 vector<double*> parameter_blocks_; member in ceres::internal::ThreeParameterCostFunctorTest
432 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
448 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
478 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
500 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
558 parameter_blocks_.resize(6); in SetUp()
[all …]
Ddynamic_numeric_diff_cost_function_test.cc325 parameter_blocks_.resize(3); in SetUp()
326 parameter_blocks_[0] = &x_[0]; in SetUp()
327 parameter_blocks_[1] = &y_[0]; in SetUp()
328 parameter_blocks_[2] = &z_[0]; in SetUp()
418 vector<double*> parameter_blocks_; member in ceres::internal::ThreeParameterCostFunctorTest
433 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
449 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
479 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
501 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
Dresidual_block.h112 return parameter_blocks_.get(); in parameter_blocks()
137 scoped_array<ParameterBlock*> parameter_blocks_; variable
Dproblem_test.cc1057 parameter_blocks_.push_back(parameters_); in SetUp()
1058 parameter_blocks_.push_back(parameters_ + 2); in SetUp()
1059 parameter_blocks_.push_back(parameters_ + 4); in SetUp()
1151 vector<double*> parameter_blocks_; member in ceres::internal::ProblemEvaluateTest
1214 evaluate_options.parameter_blocks = parameter_blocks_; in TEST_F()
1247 evaluate_options.parameter_blocks = parameter_blocks_; in TEST_F()
1286 evaluate_options.parameter_blocks.push_back(parameter_blocks_[2]); in TEST_F()
1287 evaluate_options.parameter_blocks.push_back(parameter_blocks_[1]); in TEST_F()
1288 evaluate_options.parameter_blocks.push_back(parameter_blocks_[0]); in TEST_F()
1392 evaluate_options.parameter_blocks.push_back(parameter_blocks_[0]); in TEST_F()
[all …]
Dcoordinate_descent_minimizer.h87 vector<ParameterBlock*> parameter_blocks_; variable
Dprogram.h182 vector<ParameterBlock*> parameter_blocks_; variable
Dproblem_impl.cc141 new ParameterBlock(values, size, program_->parameter_blocks_.size()); in InternalAddParameterBlock()
149 program_->parameter_blocks_.push_back(new_parameter_block); in InternalAddParameterBlock()
225 for (int i = 0; i < program_->parameter_blocks_.size(); ++i) { in ~ProblemImpl()
226 DeleteBlock(program_->parameter_blocks_[i]); in ~ProblemImpl()