HomeSort by relevance Sort by last modified time
    Searched refs:parameter_block (Results 1 - 20 of 20) sorted by null

  /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...]
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...]
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->delta_offset()
    [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...]
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(),
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 = parameter_blocks_[i] 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...]
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->index())
154 ParameterBlock* parameter_block = local
201 const ParameterBlock* parameter_block = local
    [all...]
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);
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->mutable_user_state())
    [all...]
residual_block_utils_test.cc 34 #include "ceres/parameter_block.h"
48 ParameterBlock parameter_block(&x, 1, -1);
50 parameter_blocks.push_back(&parameter_block);
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) {
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
532 ParameterBlock* parameter_block = local
667 ParameterBlock* parameter_block = excluded_parameter_blocks[i]; local
829 ParameterBlock* parameter_block = local
    [all...]
problem_impl.h 148 int ParameterBlockSize(const double* parameter_block) const;
149 int ParameterBlockLocalSize(const double* parameter_block) const;
151 bool HasParameterBlock(const double* parameter_block) const;
191 void DeleteBlock(ParameterBlock* parameter_block);
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);
problem.cc 226 int Problem::ParameterBlockSize(const double* parameter_block) const {
227 return problem_impl_->ParameterBlockSize(parameter_block);
230 int Problem::ParameterBlockLocalSize(const double* parameter_block) const {
231 return problem_impl_->ParameterBlockLocalSize(parameter_block);
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());
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;
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
    [all...]
  /external/ceres-solver/include/ceres/
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],

Completed in 540 milliseconds