Searched refs:residual_block (Results 1 - 17 of 17) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dblock_evaluate_preparer.cc37 #include "ceres/residual_block.h"
50 void BlockEvaluatePreparer::Prepare(const ResidualBlock* residual_block, argument
56 scratch_evaluate_preparer_.Prepare(residual_block,
67 const int num_parameter_blocks = residual_block->NumParameterBlocks();
69 if (!residual_block->parameter_blocks()[j]->IsConstant()) {
H A Dscratch_evaluate_preparer.cc35 #include "ceres/residual_block.h"
58 void ScratchEvaluatePreparer::Prepare(const ResidualBlock* residual_block, argument
63 int num_residuals = residual_block->NumResiduals();
64 int num_parameter_blocks = residual_block->NumParameterBlocks();
67 residual_block->parameter_blocks()[j];
H A Dresidual_block_test.cc31 #include "ceres/residual_block.h"
96 ResidualBlock residual_block(&cost_function, NULL, parameters);
99 EXPECT_EQ(&cost_function, residual_block.cost_function());
100 EXPECT_EQ(NULL, residual_block.loss_function());
101 EXPECT_EQ(parameters[0], residual_block.parameter_blocks()[0]);
102 EXPECT_EQ(parameters[1], residual_block.parameter_blocks()[1]);
103 EXPECT_EQ(parameters[2], residual_block.parameter_blocks()[2]);
104 EXPECT_EQ(3, residual_block.NumScratchDoublesForEvaluate());
108 residual_block.Evaluate(&cost, NULL, NULL, scratch);
113 residual_block
[all...]
H A Dblock_jacobian_writer.cc37 #include "ceres/residual_block.h"
68 ResidualBlock* residual_block = residual_blocks[i]; local
69 const int num_residuals = residual_block->NumResiduals();
70 const int num_parameter_blocks = residual_block->NumParameterBlocks();
74 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j];
96 const ResidualBlock* residual_block = residual_blocks[i]; local
97 const int num_residuals = residual_block->NumResiduals();
98 const int num_parameter_blocks = residual_block->NumParameterBlocks();
102 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j];
171 const ResidualBlock* residual_block local
[all...]
H A Dcompressed_row_jacobian_writer.cc37 #include "ceres/residual_block.h"
53 ResidualBlock* residual_block = residual_blocks[i]; local
54 const int num_residuals = residual_block->NumResiduals();
55 const int num_parameter_blocks = residual_block->NumParameterBlocks();
57 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j];
81 const ResidualBlock* residual_block = residual_blocks[i]; local
82 const int num_parameter_blocks = residual_block->NumParameterBlocks();
89 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j];
106 const int num_residuals = residual_block->NumResiduals();
164 const ResidualBlock* residual_block local
[all...]
H A Dblock_evaluate_preparer.h60 void Prepare(const ResidualBlock* residual_block,
H A Ddense_jacobian_writer.h40 #include "ceres/residual_block.h"
77 const ResidualBlock* residual_block = local
79 int num_parameter_blocks = residual_block->NumParameterBlocks();
80 int num_residuals = residual_block->NumResiduals();
84 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j];
H A Dscratch_evaluate_preparer.h55 void Prepare(const ResidualBlock* residual_block,
H A Dresidual_block_utils_test.cc35 #include "ceres/residual_block.h"
52 ResidualBlock residual_block(&cost_function,
57 new double[residual_block.NumScratchDoublesForEvaluate()]);
64 EXPECT_EQ(residual_block.Evaluate(&cost,
H A Dprogram.cc45 #include "ceres/residual_block.h"
126 ResidualBlock* residual_block = residual_blocks_[i]; local
127 for (int j = 0; j < residual_block->NumParameterBlocks(); ++j) {
128 residual_block->parameter_blocks()[j]->set_index(-1);
190 ResidualBlock* residual_block = residual_blocks_[i]; local
191 int num_parameters = residual_block->NumParameterBlocks();
193 derivatives += residual_block->NumResiduals() *
194 residual_block->parameter_blocks()[j]->LocalSize();
H A Dparameter_block_ordering.cc39 #include "ceres/residual_block.h"
99 const ResidualBlock* residual_block = residual_blocks[i]; local
100 const int num_parameter_blocks = residual_block->NumParameterBlocks();
102 residual_block->parameter_blocks();
H A Dgradient_checking_cost_function.cc46 #include "ceres/residual_block.h"
271 ResidualBlock* residual_block = residual_blocks[i]; local
279 for (int j = 0; j < residual_block->NumParameterBlocks(); ++j) {
280 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j];
283 extra_info += (j < residual_block->NumParameterBlocks() - 1) ? ", " : "]";
288 CreateGradientCheckingCostFunction(residual_block->cost_function(),
299 const_cast<LossFunction*>(residual_block->loss_function()),
H A Dprogram_evaluator.h53 // void Prepare(const ResidualBlock* residual_block,
88 #include "ceres/residual_block.h"
165 const ResidualBlock* residual_block = program_->residual_blocks()[i]; local
176 preparer->Prepare(residual_block,
185 if (!residual_block->Evaluate(
210 int num_residuals = residual_block->NumResiduals();
211 int num_parameter_blocks = residual_block->NumParameterBlocks();
214 residual_block->parameter_blocks()[j];
H A Dcoordinate_descent_minimizer.cc47 #include "ceres/residual_block.h"
102 ResidualBlock* residual_block = residual_blocks[i]; local
103 const int num_parameter_blocks = residual_block->NumParameterBlocks();
105 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j];
109 residual_blocks_[it->second].push_back(residual_block);
H A Dproblem_impl.cc45 #include "ceres/residual_block.h"
134 ResidualBlock* residual_block = program_->residual_blocks_[i]; local
141 const_cast<CostFunction*>(residual_block->cost_function()));
145 const_cast<LossFunction*>(residual_block->loss_function()));
148 delete residual_block;
H A Dsolver_impl.cc50 #include "ceres/residual_block.h"
603 ResidualBlock* residual_block = (*residual_blocks)[i]; local
604 int num_parameter_blocks = residual_block->NumParameterBlocks();
610 ParameterBlock* parameter_block = residual_block->parameter_blocks()[k];
623 if (!residual_block->Evaluate(
934 int MinParameterBlock(const ResidualBlock* residual_block, argument
937 for (int i = 0; i < residual_block->NumParameterBlocks(); ++i) {
938 ParameterBlock* parameter_block = residual_block->parameter_blocks()[i];
966 ResidualBlock* residual_block = (*residual_blocks)[i]; local
967 int position = MinParameterBlock(residual_block, num_eliminate_block
[all...]
/external/ceres-solver/
H A DAndroid.mk70 internal/ceres/residual_block.cc \

Completed in 182 milliseconds