19 #ifndef TRAJ_OPT_BASIC_TYPES_H_
20 #define TRAJ_OPT_BASIC_TYPES_H_
22 #include <Eigen/Geometry>
23 #include <Eigen/StdVector>
34 #ifndef TRAJ_OPT_USE_SINGLE_PRECISION
40 typedef Eigen::Matrix<decimal_t, 3, 1>
Vec3;
41 typedef Eigen::Matrix<decimal_t, 4, 1>
Vec4;
42 typedef Eigen::Matrix<decimal_t, 3, 3>
Mat3;
43 typedef Eigen::Matrix<decimal_t, 4, 4>
Mat4;
45 typedef std::vector<Vec4, Eigen::aligned_allocator<Vec4>>
Vec4Vec;
46 typedef std::vector<Vec3, Eigen::aligned_allocator<Vec3>>
Vec3Vec;
47 typedef std::vector<Mat4, Eigen::aligned_allocator<Mat4>>
Mat4Vec;
49 typedef Eigen::Matrix<decimal_t, Eigen::Dynamic, 1>
VecD;
50 typedef Eigen::Matrix<decimal_t, Eigen::Dynamic, 3>
MatD3;
51 typedef Eigen::Matrix<decimal_t, Eigen::Dynamic, Eigen::Dynamic>
MatD;
56 typedef Eigen::Quaternion<decimal_t>
Quat;
58 #endif // TRAJ_OPT_BASIC_TYPES_H_