Lines Matching refs:block_pair
285 const pair<const double*, const double*>& block_pair = in ComputeCovarianceSparsity() local
287 if (constant_parameter_blocks_.count(block_pair.first) > 0 || in ComputeCovarianceSparsity()
288 constant_parameter_blocks_.count(block_pair.second) > 0) { in ComputeCovarianceSparsity()
292 int index1 = FindOrDie(parameter_block_to_row_index_, block_pair.first); in ComputeCovarianceSparsity()
293 int index2 = FindOrDie(parameter_block_to_row_index_, block_pair.second); in ComputeCovarianceSparsity()
294 const int size1 = problem->ParameterBlockLocalSize(block_pair.first); in ComputeCovarianceSparsity()
295 const int size2 = problem->ParameterBlockLocalSize(block_pair.second); in ComputeCovarianceSparsity()
300 covariance_blocks.push_back(make_pair(block_pair.second, in ComputeCovarianceSparsity()
301 block_pair.first)); in ComputeCovarianceSparsity()
303 covariance_blocks.push_back(block_pair); in ComputeCovarianceSparsity()
351 const pair<const double*, const double*>& block_pair = in ComputeCovarianceSparsity() local
353 if (block_pair.first != row_block) { in ComputeCovarianceSparsity()
356 num_columns += problem->ParameterBlockLocalSize(block_pair.second); in ComputeCovarianceSparsity()