|
9 | 9 | #include "eigenpy/fwd.hpp" |
10 | 10 | #include "eigenpy/deprecated.hpp" |
11 | 11 | #include "eigenpy/config.hpp" |
| 12 | +#include "eigenpy/eigen-typedef.hpp" |
12 | 13 |
|
13 | 14 | #define ENABLE_SPECIFIC_MATRIX_TYPE(TYPE) \ |
14 | 15 | ::eigenpy::enableEigenPySpecific<TYPE>(); |
15 | 16 |
|
16 | | -#define EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, Size, SizeSuffix) \ |
17 | | - /** \ingroup matrixtypedefs */ \ |
18 | | - typedef Eigen::Matrix<Type, Size, Size, Options> Matrix##SizeSuffix##TypeSuffix; \ |
19 | | - /** \ingroup matrixtypedefs */ \ |
20 | | - typedef Eigen::Matrix<Type, Size, 1> Vector##SizeSuffix##TypeSuffix; \ |
21 | | - /** \ingroup matrixtypedefs */ \ |
22 | | - typedef Eigen::Matrix<Type, 1, Size> RowVector##SizeSuffix##TypeSuffix; |
23 | | - |
24 | | -#define EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, Size) \ |
25 | | - /** \ingroup matrixtypedefs */ \ |
26 | | - typedef Eigen::Matrix<Type, Size, Eigen::Dynamic, Options> Matrix##Size##X##TypeSuffix; \ |
27 | | - /** \ingroup matrixtypedefs */ \ |
28 | | - typedef Eigen::Matrix<Type, Eigen::Dynamic, Size, Options> Matrix##X##Size##TypeSuffix; |
29 | | - |
30 | | -#define EIGENPY_MAKE_TYPEDEFS_ALL_SIZES(Type, Options, TypeSuffix) \ |
31 | | - EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 2, 2) \ |
32 | | - EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 3, 3) \ |
33 | | - EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 4, 4) \ |
34 | | - EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, Eigen::Dynamic, X) \ |
35 | | - EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 2) \ |
36 | | - EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 3) \ |
37 | | - EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 4) |
38 | | - |
39 | 17 | namespace eigenpy |
40 | 18 | { |
41 | 19 |
|
|
0 commit comments