/external/ceres-solver/include/ceres/ |
autodiff_local_parameterization.h | 49 // x_plus_delta = Plus(x, delta); 65 // bool operator()(const T* x, const T* delta, T* x_plus_delta) const { 88 // QuaternionProduct(q_delta, x, x_plus_delta); 113 double* x_plus_delta) const { 114 return Functor()(x, delta, x_plus_delta); 123 double x_plus_delta[kGlobalSize]; local 125 x_plus_delta[i] = 0.0; 134 x_plus_delta,
|
/external/ceres-solver/internal/ceres/ |
autodiff_local_parameterization_test.cc | 43 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { 45 x_plus_delta[i] = x[i] + delta[i]; 58 double x_plus_delta[3] = {0.0, 0.0, 0.0}; local 59 parameterization.Plus(x, delta, x_plus_delta); 61 EXPECT_EQ(x_plus_delta[0], 1.0); 62 EXPECT_EQ(x_plus_delta[1], 3.0); 63 EXPECT_EQ(x_plus_delta[2], 5.0); 77 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { 100 QuaternionProduct(q_delta, x, x_plus_delta); 116 double x_plus_delta[4] = {0.0, 0.0, 0.0, 0.0} local [all...] |
local_parameterization_test.cc | 49 double x_plus_delta[3] = {0.0, 0.0, 0.0}; local 50 parameterization.Plus(x, delta, x_plus_delta); 51 EXPECT_EQ(x_plus_delta[0], 1.0); 52 EXPECT_EQ(x_plus_delta[1], 3.0); 53 EXPECT_EQ(x_plus_delta[2], 5.0); 94 double x_plus_delta[4] = {0.0, 0.0, 0.0}; local 96 parameterization.Plus(x, delta, x_plus_delta); 100 EXPECT_EQ(x_plus_delta[j], x[j]); 102 EXPECT_EQ(x_plus_delta[j], x[j] + delta[k++]); 129 bool operator()(const T* x, const T* delta, T* x_plus_delta) const 164 double x_plus_delta[4] = {0.0, 0.0, 0.0, 0.0}; local 186 QuaternionPlus(), parameters, 4, x_plus_delta, jacobian_array); local [all...] |
parameter_block_test.cc | 84 double x_plus_delta[3]; local 86 parameter_block.Plus(x, delta, x_plus_delta); 87 ASSERT_EQ(1.5, x_plus_delta[0]); 88 ASSERT_EQ(2.0, x_plus_delta[1]); 89 ASSERT_EQ(3.3, x_plus_delta[2]); 97 double* x_plus_delta) const { 128 double x_plus_delta[2]; local 129 parameter_block.Plus(x, delta, x_plus_delta); 130 EXPECT_EQ(1.2, x_plus_delta[0]); 131 EXPECT_EQ(2.3, x_plus_delta[1]) [all...] |