Lines Matching refs:residual_block
46 #include "ceres/residual_block.h"
128 ResidualBlock* residual_block = residual_blocks_[i];
129 for (int j = 0; j < residual_block->NumParameterBlocks(); ++j) {
130 residual_block->parameter_blocks()[j]->set_index(-1);
147 const ResidualBlock* residual_block = residual_blocks_[i];
148 if (residual_block->index() != i) {
150 << " has incorrect index: " << residual_block->index();
304 ResidualBlock* residual_block = residual_blocks_[i];
305 int num_parameter_blocks = residual_block->NumParameterBlocks();
311 ParameterBlock* parameter_block = residual_block->parameter_blocks()[k];
319 residual_blocks_[num_active_residual_blocks++] = residual_block;
326 if (!residual_block->Evaluate(true,
397 const ResidualBlock* residual_block = residual_blocks_[c];
398 const int num_parameter_blocks = residual_block->NumParameterBlocks();
400 residual_block->parameter_blocks();
475 ResidualBlock* residual_block = residual_blocks_[i];
476 int num_parameters = residual_block->NumParameterBlocks();
478 derivatives += residual_block->NumResiduals() *
479 residual_block->parameter_blocks()[j]->LocalSize();