Lines Matching refs:cost_function
141 const_cast<CostFunction*>(residual_block->cost_function())); in ~ProblemImpl()
173 CostFunction* cost_function, in AddResidualBlock() argument
176 CHECK_NOTNULL(cost_function); in AddResidualBlock()
178 cost_function->parameter_block_sizes().size()); in AddResidualBlock()
182 cost_function->parameter_block_sizes(); in AddResidualBlock()
217 CHECK_EQ(cost_function->parameter_block_sizes()[i], in AddResidualBlock()
220 << " of size " << cost_function->parameter_block_sizes()[i] in AddResidualBlock()
226 new ResidualBlock(cost_function, in AddResidualBlock()
236 CostFunction* cost_function, in AddResidualBlock() argument
241 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
245 CostFunction* cost_function, in AddResidualBlock() argument
251 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
255 CostFunction* cost_function, in AddResidualBlock() argument
262 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
266 CostFunction* cost_function, in AddResidualBlock() argument
274 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
278 CostFunction* cost_function, in AddResidualBlock() argument
287 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
291 CostFunction* cost_function, in AddResidualBlock() argument
301 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
305 CostFunction* cost_function, in AddResidualBlock() argument
317 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
321 CostFunction* cost_function, in AddResidualBlock() argument
334 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
338 CostFunction* cost_function, in AddResidualBlock() argument
352 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
356 CostFunction* cost_function, in AddResidualBlock() argument
371 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()