/external/ceres-solver/internal/ceres/ |
block_evaluate_preparer.cc | 37 #include "ceres/residual_block.h" 50 void BlockEvaluatePreparer::Prepare(const ResidualBlock* residual_block, 56 scratch_evaluate_preparer_.Prepare(residual_block, 67 const int num_parameter_blocks = residual_block->NumParameterBlocks(); 69 if (!residual_block->parameter_blocks()[j]->IsConstant()) {
|
block_evaluate_preparer.h | 60 void Prepare(const ResidualBlock* residual_block,
|
scratch_evaluate_preparer.cc | 35 #include "ceres/residual_block.h" 58 void ScratchEvaluatePreparer::Prepare(const ResidualBlock* residual_block, 63 int num_residuals = residual_block->NumResiduals(); 64 int num_parameter_blocks = residual_block->NumParameterBlocks(); 67 residual_block->parameter_blocks()[j];
|
residual_block_test.cc | 31 #include "ceres/residual_block.h" 96 ResidualBlock residual_block(&cost_function, NULL, parameters, -1); 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(true, &cost, NULL, NULL, scratch); 113 residual_block.Evaluate(true, &cost, residuals, NULL, scratch) [all...] |
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 = residual_blocks[i] local [all...] |
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(); 165 const ResidualBlock* residual_block local [all...] |
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];
|
scratch_evaluate_preparer.h | 55 void Prepare(const ResidualBlock* residual_block,
|
residual_block_utils_test.cc | 35 #include "ceres/residual_block.h" 52 ResidualBlock residual_block(&cost_function, 58 new double[residual_block.NumScratchDoublesForEvaluate()]); 65 EXPECT_EQ(residual_block.Evaluate(true,
|
schur_ordering.cc | 39 #include "ceres/residual_block.h" 78 const ResidualBlock* residual_block = residual_blocks[i]; local 79 const int num_parameter_blocks = residual_block->NumParameterBlocks(); 81 residual_block->parameter_blocks();
|
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();
|
parameter_block.h | 215 void AddResidualBlock(ResidualBlock* residual_block) { 219 residual_blocks_->insert(residual_block); 222 void RemoveResidualBlock(ResidualBlock* residual_block) { 226 CHECK(residual_blocks_->find(residual_block) != residual_blocks_->end()) 228 residual_blocks_->erase(residual_block);
|
parameter_block_ordering.cc | 39 #include "ceres/residual_block.h" 125 const ResidualBlock* residual_block = residual_blocks[i]; local 126 const int num_parameter_blocks = residual_block->NumParameterBlocks(); 128 residual_block->parameter_blocks();
|
problem_impl.cc | 50 #include "ceres/residual_block.h" 158 void ProblemImpl::DeleteBlock(ResidualBlock* residual_block) { 163 residual_block->cost_function() != NULL) { 165 const_cast<CostFunction*>(residual_block->cost_function())); 168 residual_block->loss_function() != NULL) { 170 const_cast<LossFunction*>(residual_block->loss_function())); 172 delete residual_block; 471 void ProblemImpl::RemoveResidualBlock(ResidualBlock* residual_block) { 472 CHECK_NOTNULL(residual_block); 477 residual_block->NumParameterBlocks() 504 ResidualBlock* residual_block = local [all...] |
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()),
|
program_evaluator.h | 53 // void Prepare(const ResidualBlock* residual_block, 94 #include "ceres/residual_block.h" 181 const ResidualBlock* residual_block = program_->residual_blocks()[i]; local 192 preparer->Prepare(residual_block, 201 if (!residual_block->Evaluate( 227 int num_residuals = residual_block->NumResiduals(); 228 int num_parameter_blocks = residual_block->NumParameterBlocks(); 231 residual_block->parameter_blocks()[j];
|
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);
|
problem_impl.h | 123 void RemoveResidualBlock(ResidualBlock* residual_block); 166 void DeleteBlock(ResidualBlock* residual_block);
|
solver_impl.cc | 53 #include "ceres/residual_block.h" 999 ResidualBlock* residual_block = (*residual_blocks)[i]; local 1318 ResidualBlock* residual_block = (*residual_blocks)[i]; local 1550 const ResidualBlock* residual_block = residual_blocks[c]; local [all...] |
problem.cc | 159 void Problem::RemoveResidualBlock(ResidualBlockId residual_block) { 160 problem_impl_->RemoveResidualBlock(residual_block);
|
problem_test.cc | 392 bool HasResidualBlock(ResidualBlock* residual_block) { 395 residual_block) != problem->program().residual_blocks().end(); 402 ResidualBlock* residual_block) { 406 residual_block)); [all...] |
/external/ceres-solver/include/ceres/ |
problem.h | 298 void RemoveResidualBlock(ResidualBlockId residual_block);
|
/external/ceres-solver/ |
Android.mk | 131 internal/ceres/residual_block.cc \
|
/external/ceres-solver/jni/ |
Android.mk | 162 $(CERES_SRC_PATH)/residual_block.cc \
|