/external/ceres-solver/internal/ceres/ |
D | residual_block_utils_test.cc | 62 double* jacobians[] = { &jacobian }; in CheckEvaluation() local 66 jacobians, in CheckEvaluation() 76 double** jacobians) const { in Evaluate() 78 if (jacobians != NULL && jacobians[0] != NULL) { in Evaluate() 79 jacobians[0][0] = 0.0; in Evaluate() 91 double** jacobians) const { in Evaluate() 94 if (jacobians != NULL && jacobians[0] != NULL) { in Evaluate() 95 jacobians[0][0] = 0.0; in Evaluate() 105 double** jacobians) const { in Evaluate() 107 if (jacobians != NULL && jacobians[0] != NULL) { in Evaluate() [all …]
|
D | autodiff_cost_function_test.cc | 69 double** jacobians = new double*[2]; in TEST() local 70 jacobians[0] = new double[2]; in TEST() 71 jacobians[1] = new double[2]; in TEST() 77 cost_function->Evaluate(parameters, &residuals, jacobians); in TEST() 79 EXPECT_EQ(3, jacobians[0][0]); in TEST() 80 EXPECT_EQ(4, jacobians[0][1]); in TEST() 81 EXPECT_EQ(1, jacobians[1][0]); in TEST() 82 EXPECT_EQ(2, jacobians[1][1]); in TEST() 84 delete[] jacobians[0]; in TEST() 85 delete[] jacobians[1]; in TEST() [all …]
|
D | residual_block.cc | 65 double** jacobians, in Evaluate() argument 79 if (jacobians != NULL) { in Evaluate() 82 if (jacobians[i] != NULL && in Evaluate() 87 global_jacobians[i] = jacobians[i]; in Evaluate() 101 double** eval_jacobians = (jacobians != NULL) ? global_jacobians.get() : NULL; in Evaluate() 132 if (jacobians != NULL) { in Evaluate() 134 if (jacobians[i] != NULL) { in Evaluate() 146 MatrixRef local_jacobian(jacobians[i], in Evaluate() 166 if (jacobians == NULL && !outputting_residuals) { in Evaluate() 173 if (jacobians != NULL) { in Evaluate() [all …]
|
D | residual_block_utils.cc | 50 double** jacobians) { in InvalidateEvaluation() argument 56 if (jacobians != NULL) { in InvalidateEvaluation() 59 InvalidateArray(num_residuals * parameter_block_size, jacobians[i]); in InvalidateEvaluation() 84 double** jacobians) { in EvaluationToString() argument 118 (jacobians != NULL && jacobians[i] != NULL) in EvaluationToString() 119 ? jacobians[i] + k * parameter_block_size + j in EvaluationToString() 135 double** jacobians) { in IsEvaluationValid() argument 143 if (jacobians != NULL) { in IsEvaluationValid() 146 if (!IsArrayValid(num_residuals * parameter_block_size, jacobians[i])) { in IsEvaluationValid()
|
D | gradient_checking_cost_function_test.cc | 90 double** jacobians) const { in Evaluate() 104 if (jacobians) { in Evaluate() 106 if (jacobians[j]) { in Evaluate() 109 jacobians[j][u] = - f * a_[j][u]; in Evaluate() 117 jacobians[j][u] += 500; in Evaluate() 151 vector<double*> jacobians(arity); in TEST() local 156 jacobians[j] = new double[dim[j]]; in TEST() 175 &jacobians[0]); in TEST() 180 EXPECT_EQ(original_jacobians[j][k], jacobians[j][k]); in TEST() 184 delete[] jacobians[j]; in TEST() [all …]
|
D | conditioned_cost_function.cc | 79 double** jacobians) const { in Evaluate() 81 jacobians); in Evaluate() 99 if (!jacobians) { in Evaluate() 112 if (jacobians) { in Evaluate() 116 if (jacobians[i]) { in Evaluate() 119 VectorRef jacobian_row(jacobians[i] + r * parameter_block_size, in Evaluate()
|
D | gradient_checker_test.cc | 74 double** jacobians) const { in Evaluate() 88 if (jacobians) { in Evaluate() 90 if (jacobians[j]) { in Evaluate() 93 jacobians[j][u] = - f * a_[j][u]; in Evaluate() 127 double** jacobians) const { in Evaluate() 141 if (jacobians) { in Evaluate() 143 if (jacobians[j]) { in Evaluate() 146 jacobians[j][u] = - f * a_[j][u] + 0.001; in Evaluate()
|
D | numeric_diff_cost_function_test.cc | 62 double** jacobians) const { in Evaluate() 63 (void) jacobians; // Ignored. in Evaluate() 103 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; in TEST() local 109 &jacobians[0])); in TEST() 143 double** jacobians) const { in Evaluate() 144 (void) jacobians; // Ignored. in Evaluate() 208 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; in TEST() local 214 &jacobians[0])); in TEST() 240 double** jacobians) const { in Evaluate()
|
D | runtime_numeric_diff_cost_function_test.cc | 66 double** jacobians) const { in Evaluate() 67 (void) jacobians; // Ignored. in Evaluate() 99 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; in TEST() local 105 &jacobians[0])); in TEST() 139 double** jacobians) const { in Evaluate() 140 (void) jacobians; // Ignored. in Evaluate() 195 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; in TEST() local 201 &jacobians[0])); in TEST()
|
D | block_evaluate_preparer.cc | 53 double** jacobians) { in Prepare() argument 59 jacobians); in Prepare() 70 jacobians[j] = jacobian_values + *jacobian_block_offset; in Prepare() 77 jacobians[j] = NULL; in Prepare()
|
D | normal_prior.cc | 53 double** jacobians) const { in Evaluate() 60 if ((jacobians != NULL) && (jacobians[0] != NULL)) { in Evaluate() 61 MatrixRef(jacobians[0], num_residuals(), parameter_block_sizes()[0]) = A_; in Evaluate()
|
D | runtime_numeric_diff_cost_function.cc | 54 double** jacobians) { in EvaluateJacobianForParameterBlock() argument 66 Map<JacobianMatrix> parameter_jacobian(jacobians[parameter_block], in EvaluateJacobianForParameterBlock() 148 double** jacobians) const { in Evaluate() 155 if (!jacobians) { in Evaluate() 181 if (!jacobians[block]) { in Evaluate() 192 jacobians)) { in Evaluate()
|
D | residual_block_utils.h | 58 double** jacobians); 66 double** jacobians); 75 double** jacobians);
|
D | residual_block_test.cc | 57 double** jacobians) const { in Evaluate() 61 if (jacobians) { in Evaluate() 63 if (jacobians[k] != NULL) { in Evaluate() 64 MatrixRef jacobian(jacobians[k], in Evaluate() 172 double** jacobians) const { in Evaluate() 176 if (jacobians) { in Evaluate() 188 if (jacobians[k] != NULL) { in Evaluate() 189 MatrixRef jacobian(jacobians[k], in Evaluate()
|
D | conditioned_cost_function_test.cc | 56 double** jacobians) const { in Evaluate() 58 if (jacobians && *jacobians) { in Evaluate() 59 **jacobians = a_; in Evaluate()
|
D | scratch_evaluate_preparer.cc | 61 double** jacobians) { in Prepare() argument 69 jacobians[j] = NULL; in Prepare() 71 jacobians[j] = jacobian_block_cursor; in Prepare()
|
D | autodiff_test.cc | 196 double *jacobians[] = { J_PX }; in TEST() local 198 b, parameters, 2, ad_x1, jacobians))); in TEST() 211 double *jacobians[] = { J_P, J_X }; in TEST() local 213 b, parameters, 2, ad_x2, jacobians))); in TEST() 318 double *jacobians[] = { J_q, J_c, J_X }; in TEST() local 320 b, parameters, 2, ad_x, jacobians))); in TEST() 358 double *jacobians[] = { J_x }; in TEST() local 370 functor, parameters, num_residuals, residuals, jacobians))); in TEST()
|
D | evaluator_test.cc | 61 double** jacobians) const { in Evaluate() 65 if (jacobians) { in Evaluate() 79 if (jacobians[k] != NULL) { in Evaluate() 80 MatrixRef jacobian(jacobians[k], in Evaluate() 602 double** jacobians) const { in Evaluate() 608 if (jacobians != NULL) { in Evaluate() 609 double* jacobian = jacobians[0]; in Evaluate() 712 double** jacobians) const { in Evaluate() 720 if (jacobians == NULL) { in Evaluate() 725 if (jacobians[j] != NULL) { in Evaluate() [all …]
|
D | trust_region_minimizer_test.cc | 295 double** jacobians) const { in Evaluate() 308 if (jacobians == NULL) { in Evaluate() 313 if (jacobians[i] != NULL) { in Evaluate() 330 jacobians[i][dim] = 0.; in Evaluate() 333 jacobians[i][dim] -= u[dim] / norm_u; in Evaluate() 337 jacobians[i][dim] += v[dim] / norm_v; in Evaluate()
|
D | normal_prior_test.cc | 107 double* jacobians[1]; in TEST() local 108 jacobians[0] = NULL; in TEST() 113 prior.Evaluate(&x, residuals.data(), jacobians); in TEST()
|
/external/ceres-solver/examples/ |
D | quadratic.cc | 52 double** jacobians) const { in Evaluate() 61 if (jacobians != NULL && jacobians[0] != NULL) { in Evaluate() 62 jacobians[0][0] = -1; in Evaluate()
|
D | fields_of_experts.cc | 56 double** jacobians) const { in Evaluate() 63 if (jacobians != NULL) { in Evaluate() 65 if (jacobians[i] != NULL) { in Evaluate() 66 jacobians[i][0] = filter_[i]; in Evaluate()
|
D | denoising.cc | 74 double** jacobians) const { in Evaluate() 77 if (jacobians != NULL && jacobians[0] != NULL) { in Evaluate() 78 jacobians[0][0] = sqrta_; in Evaluate()
|
/external/ceres-solver/include/ceres/ |
D | numeric_diff_cost_function.h | 92 double **jacobians) { in EvaluateJacobianForParameterBlock() 104 Map<JacobianMatrix> parameter_jacobian(jacobians[parameter_block], in EvaluateJacobianForParameterBlock() 194 double **jacobians) { 218 double** jacobians) const { 225 if (!jacobians) { 255 if (N ## block && jacobians[block]) { \ 264 jacobians)) { \
|
D | autodiff_cost_function.h | 195 double** jacobians) const { in Evaluate() argument 196 if (!jacobians) { in Evaluate() 208 jacobians); in Evaluate()
|