Main Page
Namespaces
Classes
Files
File List
File Members
include
eigenpy
eigen-typedef.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2020 INRIA
3
//
4
5
#ifndef __eigenpy_eigen_typedef_hpp__
6
#define __eigenpy_eigen_typedef_hpp__
7
8
#include "
eigenpy/fwd.hpp
"
9
10
#define EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, Size, SizeSuffix) \
11
\
12
typedef Eigen::Matrix<Type, Size, Size, Options> Matrix##SizeSuffix##TypeSuffix; \
13
\
14
typedef Eigen::Matrix<Type, Size, 1> Vector##SizeSuffix##TypeSuffix; \
15
\
16
typedef Eigen::Matrix<Type, 1, Size> RowVector##SizeSuffix##TypeSuffix;
17
18
#define EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, Size) \
19
\
20
typedef Eigen::Matrix<Type, Size, Eigen::Dynamic, Options> Matrix##Size##X##TypeSuffix; \
21
\
22
typedef Eigen::Matrix<Type, Eigen::Dynamic, Size, Options> Matrix##X##Size##TypeSuffix;
23
24
#define EIGENPY_MAKE_TYPEDEFS_ALL_SIZES(Type, Options, TypeSuffix) \
25
EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 2, 2) \
26
EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 3, 3) \
27
EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 4, 4) \
28
EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, Eigen::Dynamic, X) \
29
EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 2) \
30
EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 3) \
31
EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 4)
32
33
#endif // ifndef __eigenpy_eigen_typedef_hpp__
fwd.hpp
eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Apr 17 2021 02:37:59