Go to the documentation of this file.
10 #ifndef EIGEN_EULERANGLES_H
11 #define EIGEN_EULERANGLES_H
35 template<
typename Derived>
48 const Index odd = ((a0+1)%3 ==
a1) ? 0 : 1;
50 const Index j = (a0 + 1 + odd)%3;
51 const Index k = (a0 + 2 - odd)%3;
85 res[2] =
atan2(
c1*coeff(
j,k)-s1*coeff(k,k),
c1*coeff(
j,
j) - s1 * coeff(k,
j));
114 #endif // EIGEN_EULERANGLES_H
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
const AutoDiffScalar< Matrix< typename internal::traits< typename internal::remove_all< DerTypeA >::type >::Scalar, Dynamic, 1 > > atan2(const AutoDiffScalar< DerTypeA > &a, const AutoDiffScalar< DerTypeB > &b)
#define EIGEN_USING_STD(FUNC)
Jet< T, N > sin(const Jet< T, N > &f)
internal::traits< Solve< Decomposition, RhsType > >::Scalar Scalar
#define EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(TYPE, ROWS, COLS)
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
EIGEN_DEVICE_FUNC Matrix< Scalar, 3, 1 > eulerAngles(Index a0, Index a1, Index a2) const
Jet< T, N > cos(const Jet< T, N > &f)
internal::traits< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Scalar Scalar
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:32:30