/external/ceres-solver/internal/ceres/ |
D | autodiff_local_parameterization_test.cc | 43 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { in operator ()() 45 x_plus_delta[i] = x[i] + delta[i]; in operator ()() 57 double x_plus_delta[3] = {0.0, 0.0, 0.0}; in TEST() local 58 parameterization.Plus(x, delta, x_plus_delta); in TEST() 60 EXPECT_EQ(x_plus_delta[0], 1.0); in TEST() 61 EXPECT_EQ(x_plus_delta[1], 3.0); in TEST() 62 EXPECT_EQ(x_plus_delta[2], 5.0); in TEST() 80 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { in operator ()() 82 x_plus_delta[i] = x[i] + T(scale_factor_) * delta[i]; in operator ()() 98 double x_plus_delta[3] = {0.0, 0.0, 0.0}; in TEST() local [all …]
|
D | local_parameterization_test.cc | 49 double x_plus_delta[3] = {0.0, 0.0, 0.0}; in TEST() local 50 parameterization.Plus(x, delta, x_plus_delta); in TEST() 51 EXPECT_EQ(x_plus_delta[0], 1.0); in TEST() 52 EXPECT_EQ(x_plus_delta[1], 3.0); in TEST() 53 EXPECT_EQ(x_plus_delta[2], 5.0); in TEST() 94 double x_plus_delta[4] = {0.0, 0.0, 0.0}; in TEST() local 96 parameterization.Plus(x, delta, x_plus_delta); in TEST() 100 EXPECT_EQ(x_plus_delta[j], x[j]); in TEST() 102 EXPECT_EQ(x_plus_delta[j], x[j] + delta[k++]); in TEST() 129 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { in operator ()() [all …]
|
D | parameter_block_test.cc | 84 double x_plus_delta[3]; in TEST() local 86 parameter_block.Plus(x, delta, x_plus_delta); in TEST() 87 ASSERT_EQ(1.5, x_plus_delta[0]); in TEST() 88 ASSERT_EQ(2.0, x_plus_delta[1]); in TEST() 89 ASSERT_EQ(3.3, x_plus_delta[2]); in TEST() 97 double* x_plus_delta) const { in Plus() 128 double x_plus_delta[2]; in TEST() local 129 parameter_block.Plus(x, delta, x_plus_delta); in TEST() 130 EXPECT_EQ(1.2, x_plus_delta[0]); in TEST() 131 EXPECT_EQ(2.3, x_plus_delta[1]); in TEST() [all …]
|
D | local_parameterization.cc | 46 double* x_plus_delta) const { in Plus() 47 VectorRef(x_plus_delta, size_) = in Plus() 88 double* x_plus_delta) const { in Plus() 91 x_plus_delta[i] = x[i]; in Plus() 93 x_plus_delta[i] = x[i] + delta[j++]; in Plus() 113 double* x_plus_delta) const { in Plus() 123 QuaternionProduct(q_delta, x, x_plus_delta); in Plus() 126 x_plus_delta[i] = x[i]; in Plus()
|
D | parameter_block.h | 214 bool Plus(const double *x, const double* delta, double* x_plus_delta) { in Plus() argument 216 if (!local_parameterization_->Plus(x, delta, x_plus_delta)) { in Plus() 220 VectorRef(x_plus_delta, size_) = ConstVectorRef(x, size_) + in Plus() 227 x_plus_delta[i] = std::max(x_plus_delta[i], lower_bounds_[i]); in Plus() 233 x_plus_delta[i] = std::min(x_plus_delta[i], upper_bounds_[i]); in Plus()
|
D | trust_region_minimizer.cc | 157 Vector x_plus_delta(num_parameters); in Minimize() local 183 if (!evaluator->Plus(x.data(), delta.data(), x_plus_delta.data())) { in Minimize() 190 x_min = x_plus_delta; in Minimize() 191 x = x_plus_delta; in Minimize() 396 if (evaluator->Plus(x.data(), delta.data(), x_plus_delta.data())) { in Minimize() 397 if (!evaluator->Evaluate(x_plus_delta.data(), in Minimize() 417 Vector inner_iteration_x = x_plus_delta; in Minimize() 428 x_plus_delta = inner_iteration_x; in Minimize() 455 iteration_summary.step_norm = (x - x_plus_delta).norm(); in Minimize() 570 x = x_plus_delta; in Minimize()
|
D | line_search_minimizer.cc | 120 Vector x_plus_delta(num_parameters); in Minimize() local 335 if (!evaluator->Plus(x.data(), delta.data(), x_plus_delta.data())) { in Minimize() 343 x_plus_delta, in Minimize() 354 x = x_plus_delta; in Minimize()
|
D | covariance_test.cc | 208 double* x_plus_delta) const { in Plus() 209 x_plus_delta[0] = delta[0] * x[0]; in Plus() 210 x_plus_delta[1] = delta[0] * x[1]; in Plus()
|
/external/ceres-solver/include/ceres/ |
D | autodiff_local_parameterization.h | 120 double* x_plus_delta) const { in Plus() argument 121 return (*functor_)(x, delta, x_plus_delta); in Plus() 130 double x_plus_delta[kGlobalSize]; in ComputeJacobian() local 132 x_plus_delta[i] = 0.0; in ComputeJacobian() 141 x_plus_delta, in ComputeJacobian()
|
D | local_parameterization.h | 122 double* x_plus_delta) const = 0; 143 double* x_plus_delta) const; 161 double* x_plus_delta) const; 183 double* x_plus_delta) const;
|
D | dynamic_numeric_diff_cost_function.h | 171 Map<ParameterVector> x_plus_delta(parameters[parameter_block], in EvaluateJacobianForParameterBlock() 173 ParameterVector x(x_plus_delta); in EvaluateJacobianForParameterBlock() 195 x_plus_delta(j) = x(j) + step_size(j); in EvaluateJacobianForParameterBlock() 212 x_plus_delta(j) = x(j) - step_size(j); in EvaluateJacobianForParameterBlock() 226 x_plus_delta(j) = x(j); // Restore x_plus_delta. in EvaluateJacobianForParameterBlock()
|
/external/ceres-solver/include/ceres/internal/ |
D | numeric_diff.h | 119 Map<ParameterVector> x_plus_delta(parameters[kParameterBlock], in EvaluateJacobianForParameterBlock() 121 ParameterVector x(x_plus_delta); in EvaluateJacobianForParameterBlock() 141 x_plus_delta(j) = x(j) + delta; in EvaluateJacobianForParameterBlock() 157 x_plus_delta(j) = x(j) - delta; in EvaluateJacobianForParameterBlock() 171 x_plus_delta(j) = x(j); // Restore x_plus_delta. in EvaluateJacobianForParameterBlock()
|
/external/ceres-solver/docs/source/ |
D | modeling.rst | 1050 double* x_plus_delta) const = 0; 1104 … bool LocalParameterization::Plus(const double* x, const double* delta, double* x_plus_delta) const 1186 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { 1209 Quaternionproduct(q_delta, x, x_plus_delta);
|