Searched refs:block_pair (Results 1 – 1 of 1) sorted by relevance
285 const pair<const double*, const double*>& block_pair = in ComputeCovarianceSparsity() local287 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()[all …]