/external/ceres-solver/internal/ceres/ |
parameter_block_test.cc | 31 #include "ceres/parameter_block.h" 41 ParameterBlock parameter_block(x, 3, -1); 50 parameter_block.SetParameterization(&subset_wrong_size), "global"); 54 (parameter_block.SetParameterization(NULL), "NULL"); 58 parameter_block.SetParameterization(&subset); 61 parameter_block.SetParameterization(&subset); 64 EXPECT_DEATH_IF_SUPPORTED(parameter_block.SetParameterization(NULL), "NULL"); 69 (parameter_block.SetParameterization(&subset_different), "re-set"); 73 parameter_block.LocalParameterizationJacobian(), 86 parameter_block.Plus(x, delta, x_plus_delta) [all...] |
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...] |
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->LocalSize() 179 const ParameterBlock* parameter_block = parameter_blocks_[i]; local 207 const ParameterBlock* parameter_block = parameter_blocks_[i]; local [all...] |
schur_ordering.cc | 37 #include "ceres/parameter_block.h" 56 ParameterBlock* parameter_block = parameter_blocks[i]; local 57 if (parameter_block->IsConstant()) { 58 ordering->push_back(parameter_block); 70 ParameterBlock* parameter_block = parameter_blocks[i]; local 71 if (!parameter_block->IsConstant()) { 72 graph->AddVertex(parameter_block);
|
compressed_row_jacobian_writer.cc | 35 #include "ceres/parameter_block.h" 57 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 58 if (!parameter_block->IsConstant()) { 59 num_jacobian_nonzeros += num_residuals * parameter_block->LocalSize(); 89 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 90 if (!parameter_block->IsConstant()) { 91 parameter_indices.push_back(parameter_block->index()); 92 num_derivatives += parameter_block->LocalSize(); 116 ParameterBlock* parameter_block = local 118 const int parameter_block_size = parameter_block->LocalSize() 178 const ParameterBlock* parameter_block = local 193 const ParameterBlock* parameter_block = local [all...] |
coordinate_descent_minimizer.cc | 44 #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->delta_offset() [all...] |
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();
|
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...] |
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(),
|
gradient_checking_cost_function.cc | 42 #include "ceres/parameter_block.h" 254 ParameterBlock* parameter_block = parameter_blocks[i]; local 256 parameter_block->mutable_user_state(), 257 parameter_block->Size(), 258 parameter_block->mutable_local_parameterization()); 260 if (parameter_block->IsConstant()) { 262 parameter_block->mutable_user_state()); 280 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; local 281 parameter_blocks.push_back(parameter_block->mutable_user_state()); 282 StringAppendF(&extra_info, "%p", parameter_block->mutable_user_state()) [all...] |
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; 180 void ProblemImpl::DeleteBlock(ParameterBlock* parameter_block) { 182 parameter_block->local_parameterization() != NULL) { 184 parameter_block->mutable_local_parameterization()); 186 parameter_block_map_.erase(parameter_block->mutable_user_state()); 187 delete parameter_block; 440 ParameterBlock* parameter_block local 487 ParameterBlock* parameter_block = local 602 ParameterBlock* parameter_block = excluded_parameter_blocks[i]; local [all...] |
residual_block_utils_test.cc | 34 #include "ceres/parameter_block.h" 48 ParameterBlock parameter_block(&x, 1, -1); 50 parameter_blocks.push_back(¶meter_block);
|
problem_impl.h | 142 int ParameterBlockSize(const double* parameter_block) const; 143 int ParameterBlockLocalSize(const double* parameter_block) const; 167 void DeleteBlock(ParameterBlock* parameter_block);
|
runtime_numeric_diff_cost_function.cc | 49 int parameter_block, 66 Map<JacobianMatrix> parameter_jacobian(jacobians[parameter_block], 71 Map<ParameterVector> x_plus_delta(parameters[parameter_block],
|
problem.cc | 209 int Problem::ParameterBlockSize(const double* parameter_block) const { 210 return problem_impl_->ParameterBlockSize(parameter_block); 213 int Problem::ParameterBlockLocalSize(const double* parameter_block) const { 214 return problem_impl_->ParameterBlockLocalSize(parameter_block);
|
program_evaluator.h | 92 #include "ceres/parameter_block.h" 230 const ParameterBlock* parameter_block = local 232 if (parameter_block->IsConstant()) { 239 parameter_block->LocalSize(), 241 scratch->gradient.get() + parameter_block->delta_offset());
|
covariance_impl.cc | 47 #include "ceres/parameter_block.h" 268 double* parameter_block = all_parameter_blocks[i]; local 270 ParameterBlock* block = FindOrDie(parameter_map, parameter_block); 272 constant_parameter_blocks_.insert(parameter_block); 274 active_parameter_blocks.push_back(parameter_block); 286 double* parameter_block = active_parameter_blocks[i]; local 288 problem->ParameterBlockLocalSize(parameter_block); 289 parameter_block_to_row_index_[parameter_block] = num_rows;
|
solver_impl.cc | 48 #include "ceres/parameter_block.h" 1006 ParameterBlock* parameter_block = residual_block->parameter_blocks()[k]; local 1041 ParameterBlock* parameter_block = (*parameter_blocks)[i]; local 1289 ParameterBlock* parameter_block = residual_block->parameter_blocks()[i]; local 1606 double* parameter_block = schur_ordering[i]->mutable_user_state(); local [all...] |
problem_test.cc | 43 #include "ceres/parameter_block.h" 403 ParameterBlock* parameter_block = local 405 EXPECT_TRUE(ContainsKey(*(parameter_block->mutable_residual_blocks()), 410 ParameterBlock* parameter_block = local 412 EXPECT_EQ(size, parameter_block->mutable_residual_blocks()->size()); [all...] |