Home
last modified time | relevance | path

Searched refs:block_sizes (Results 1 – 3 of 3) sorted by relevance

/external/ceres-solver/include/ceres/
Ddynamic_numeric_diff_cost_function.h107 const vector<int32>& block_sizes = parameter_block_sizes(); in Evaluate() local
108 CHECK(!block_sizes.empty()) in Evaluate()
118 int parameters_size = accumulate(block_sizes.begin(), block_sizes.end(), 0); in Evaluate()
120 vector<double*> parameters_references_copy(block_sizes.size()); in Evaluate()
122 for (int block = 1; block < block_sizes.size(); ++block) { in Evaluate()
124 + block_sizes[block - 1]; in Evaluate()
128 for (int block = 0; block < block_sizes.size(); ++block) { in Evaluate()
131 block_sizes[block] * sizeof(*parameters[block])); in Evaluate()
134 for (int block = 0; block < block_sizes.size(); ++block) { in Evaluate()
136 !EvaluateJacobianForParameterBlock(block_sizes[block], in Evaluate()
Dgradient_checker.h122 const vector<int32>& block_sizes = term->parameter_block_sizes(); in Probe() local
123 const int num_blocks = block_sizes.size(); in Probe()
128 CHECK_EQ(N0, block_sizes[0]); in Probe()
134 CHECK_EQ(N1, block_sizes[1]); in Probe()
140 CHECK_EQ(N2, block_sizes[2]); in Probe()
146 CHECK_EQ(N3, block_sizes[3]); in Probe()
152 CHECK_EQ(N4, block_sizes[4]); in Probe()
167 results->term_jacobians[i].resize(num_residuals, block_sizes[i]); in Probe()
170 num_residuals, block_sizes[i]); in Probe()
/external/ceres-solver/internal/ceres/
Dgradient_checking_cost_function.cc120 const vector<int32>& block_sizes = function_->parameter_block_sizes(); in Evaluate() local
121 vector<Matrix> term_jacobians(block_sizes.size()); in Evaluate()
122 vector<Matrix> finite_difference_jacobians(block_sizes.size()); in Evaluate()
123 vector<double*> term_jacobian_pointers(block_sizes.size()); in Evaluate()
124 vector<double*> finite_difference_jacobian_pointers(block_sizes.size()); in Evaluate()
125 for (int i = 0; i < block_sizes.size(); i++) { in Evaluate()
126 term_jacobians[i].resize(num_residuals, block_sizes[i]); in Evaluate()
128 finite_difference_jacobians[i].resize(num_residuals, block_sizes[i]); in Evaluate()
154 for (int k = 0; k < block_sizes.size(); k++) { in Evaluate()