/external/ceres-solver/internal/ceres/ |
H A D | scratch_evaluate_preparer.cc | 33 #include "ceres/parameter_block.h" 66 const ParameterBlock* parameter_block = local 68 if (parameter_block->IsConstant()) { 72 jacobian_block_cursor += num_residuals * parameter_block->LocalSize();
|
H A D | dynamic_compressed_row_jacobian_writer.cc | 35 #include "ceres/parameter_block.h" 85 const ParameterBlock* parameter_block = local 89 const int parameter_block_size = parameter_block->LocalSize(); 99 residual_offset + r, parameter_block->delta_offset() + c, v);
|
H A D | dense_jacobian_writer.h | 38 #include "ceres/parameter_block.h" 84 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 87 if (parameter_block->IsConstant()) { 91 const int parameter_block_size = parameter_block->LocalSize(); 98 parameter_block->delta_offset(),
|
H A D | parameter_block_ordering.cc | 37 #include "ceres/parameter_block.h" 62 ParameterBlock* parameter_block = parameter_blocks[i]; local 63 if (parameter_block->IsConstant()) { 64 ordering->push_back(parameter_block); 81 ParameterBlock* parameter_block = parameter_blocks[i]; local 82 if (parameter_block->IsConstant()) { 83 ordering->push_back(parameter_block); 103 ParameterBlock* parameter_block = independent_set_ordering[i]; local 104 ordering->AddElementToGroup(parameter_block->mutable_user_state(), round); 105 graph->RemoveVertex(parameter_block); 117 ParameterBlock* parameter_block = parameter_blocks[i]; local [all...] |
H A D | residual_block.cc | 38 #include "ceres/parameter_block.h" 86 const ParameterBlock* parameter_block = parameter_blocks_[i]; local 88 parameter_block->LocalParameterizationJacobian() != NULL) { 90 scratch += num_residuals * parameter_block->Size(); 140 const ParameterBlock* parameter_block = parameter_blocks_[i]; local 143 if (parameter_block->LocalParameterizationJacobian() != NULL) { 148 parameter_block->Size(), 149 parameter_block->LocalParameterizationJacobian(), 150 parameter_block->Size(), 151 parameter_block 179 const ParameterBlock* parameter_block = parameter_blocks_[i]; local 207 const ParameterBlock* parameter_block = parameter_blocks_[i]; local [all...] |
H A D | block_jacobian_writer.cc | 35 #include "ceres/parameter_block.h" 74 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 75 if (!parameter_block->IsConstant()) { 78 if (parameter_block->index() < num_eliminate_blocks) { 79 f_block_pos += num_residuals * parameter_block->LocalSize(); 102 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 103 const int parameter_block_index = parameter_block->index(); 104 if (parameter_block->IsConstant()) { 108 num_residuals * parameter_block->LocalSize(); 190 const ParameterBlock* parameter_block local [all...] |
H A D | compressed_row_jacobian_writer.cc | 35 #include "ceres/parameter_block.h" 71 const ParameterBlock* parameter_block = local 73 if (!parameter_block->IsConstant()) { 75 make_pair(parameter_block->index(), j)); 95 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 96 if (!parameter_block->IsConstant()) { 97 num_jacobian_nonzeros += num_residuals * parameter_block->LocalSize(); 127 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 128 if (!parameter_block->IsConstant()) { 129 parameter_indices.push_back(parameter_block 154 ParameterBlock* parameter_block = local 201 const ParameterBlock* parameter_block = local [all...] |
H A D | coordinate_descent_minimizer.cc | 43 #include "ceres/parameter_block.h" 105 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 107 parameter_block_index.find(parameter_block); 127 ParameterBlock* parameter_block = parameter_blocks_[i]; local 128 parameter_block->SetState(parameters + parameter_block->state_offset()); 129 parameter_block->SetConstant(); 161 ParameterBlock* parameter_block = parameter_blocks_[j]; local 162 const int old_index = parameter_block->index(); 163 const int old_delta_offset = parameter_block [all...] |
H A D | reorder_program.cc | 40 #include "ceres/parameter_block.h" 63 ParameterBlock* parameter_block = residual_block->parameter_blocks()[i]; local 64 if (!parameter_block->IsConstant()) { 65 CHECK_NE(parameter_block->index(), -1) 68 min_parameter_block_position = std::min(parameter_block->index(), 333 double* parameter_block = schur_ordering[i]->mutable_user_state(); local 335 parameter_block_ordering->AddElementToGroup(parameter_block, group_id);
|
H A D | gradient_checking_cost_function.cc | 42 #include "ceres/parameter_block.h" 264 ParameterBlock* parameter_block = parameter_blocks[i]; local 266 parameter_block->mutable_user_state(), 267 parameter_block->Size(), 268 parameter_block->mutable_local_parameterization()); 270 if (parameter_block->IsConstant()) { 272 parameter_block->mutable_user_state()); 290 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 291 parameter_blocks.push_back(parameter_block->mutable_user_state()); 292 StringAppendF(&extra_info, "%p", parameter_block [all...] |
H A D | program_evaluator.h | 95 #include "ceres/parameter_block.h" 239 const ParameterBlock* parameter_block = local 241 if (parameter_block->IsConstant()) { 248 parameter_block->LocalSize(), 250 scratch->gradient.get() + parameter_block->delta_offset());
|
H A D | program.cc | 44 #include "ceres/parameter_block.h" 158 const ParameterBlock* parameter_block = parameter_blocks_[i]; local 159 if (parameter_block->index() != i || 160 parameter_block->state_offset() != state_offset || 161 parameter_block->delta_offset() != delta_offset) { 164 << parameter_block->ToString(); 178 const ParameterBlock* parameter_block = parameter_blocks_[i]; local 179 const double* array = parameter_block->user_state(); 180 const int size = parameter_block->Size(); 197 const ParameterBlock* parameter_block local 217 const ParameterBlock* parameter_block = parameter_blocks_[i]; local 311 ParameterBlock* parameter_block = residual_block->parameter_blocks()[k]; local 343 ParameterBlock* parameter_block = parameter_blocks_[i]; local [all...] |
H A D | covariance_impl.cc | 67 #include "ceres/parameter_block.h" 254 double* parameter_block = all_parameter_blocks[i]; local 256 ParameterBlock* block = FindOrDie(parameter_map, parameter_block); 258 constant_parameter_blocks_.insert(parameter_block); 260 active_parameter_blocks.push_back(parameter_block); 272 double* parameter_block = active_parameter_blocks[i]; local 274 problem->ParameterBlockLocalSize(parameter_block); 275 parameter_block_to_row_index_[parameter_block] = num_rows;
|
H A D | problem_impl.cc | 48 #include "ceres/parameter_block.h" 63 double* parameter_block) { 64 ParameterMap::const_iterator it = parameter_map.find(parameter_block); 66 << "Parameter block not found: " << parameter_block; 200 void ProblemImpl::DeleteBlock(ParameterBlock* parameter_block) { argument 202 parameter_block->local_parameterization() != NULL) { 204 parameter_block->mutable_local_parameterization()); 206 parameter_block_map_.erase(parameter_block->mutable_user_state()); 207 delete parameter_block; 465 ParameterBlock* parameter_block local 61 FindParameterBlockOrDie( const ParameterMap& parameter_map, double* parameter_block) argument 532 ParameterBlock* parameter_block = local 667 ParameterBlock* parameter_block = excluded_parameter_blocks[i]; local 829 ParameterBlock* parameter_block = local [all...] |
H A D | problem_test.cc | 43 #include "ceres/parameter_block.h" 420 ParameterBlock* parameter_block = local 422 EXPECT_TRUE(ContainsKey(*(parameter_block->mutable_residual_blocks()), 427 ParameterBlock* parameter_block = local 429 EXPECT_EQ(size, parameter_block->mutable_residual_blocks()->size()); 949 double* parameter_block; member in struct:ceres::internal::GetResidualBlocksForParameterBlockTestCase 958 for (int i = 0; get_residual_blocks_cases[i].parameter_block; ++i) { 960 get_residual_blocks_cases[i].parameter_block,
|
/external/ceres-solver/include/ceres/ |
H A D | dynamic_numeric_diff_cost_function.h | 150 const int parameter_block, 166 Map<JacobianMatrix> parameter_jacobian(jacobians[parameter_block], 171 Map<ParameterVector> x_plus_delta(parameters[parameter_block], 149 EvaluateJacobianForParameterBlock(const int parameter_block_size, const int parameter_block, const double relative_step_size, double const* residuals_at_eval_point, double** parameters, double** jacobians) const argument
|