/external/ceres-solver/internal/ceres/ |
H A D | block_evaluate_preparer.cc | 37 #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 D | scratch_evaluate_preparer.cc | 35 #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 D | residual_block_test.cc | 31 #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 D | block_jacobian_writer.cc | 37 #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 D | compressed_row_jacobian_writer.cc | 37 #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 D | block_evaluate_preparer.h | 60 void Prepare(const ResidualBlock* residual_block,
|
H A D | dense_jacobian_writer.h | 40 #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 D | scratch_evaluate_preparer.h | 55 void Prepare(const ResidualBlock* residual_block,
|
H A D | residual_block_utils_test.cc | 35 #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 D | program.cc | 45 #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 D | parameter_block_ordering.cc | 39 #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 D | gradient_checking_cost_function.cc | 46 #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 D | program_evaluator.h | 53 // 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 D | coordinate_descent_minimizer.cc | 47 #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 D | problem_impl.cc | 45 #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 D | solver_impl.cc | 50 #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 D | Android.mk | 70 internal/ceres/residual_block.cc \
|