Eigen defines several typedef shortcuts for most common matrix and vector types.
Template alias are also defined for common sizes. They follow the same pattern as above except that the scalar type suffix is replaced by a template parameter, i.e.:
|
|
template<typename Type> |
| using | Eigen::Matrix2 |
| | 2×2 matrix of type Type.
|
| |
|
using | Eigen::Matrix2cd |
| | 2×2 matrix of type std::complex<double>.
|
| |
|
using | Eigen::Matrix2cf |
| | 2×2 matrix of type std::complex<float>.
|
| |
|
using | Eigen::Matrix2d |
| | 2×2 matrix of type double.
|
| |
|
using | Eigen::Matrix2f |
| | 2×2 matrix of type float.
|
| |
|
using | Eigen::Matrix2i |
| | 2×2 matrix of type int.
|
| |
|
template<typename Type> |
| using | Eigen::Matrix2X |
| | 2×Dynamic matrix of type Type
|
| |
|
using | Eigen::Matrix2Xcd |
| | 2×Dynamic matrix of type std::complex<double>.
|
| |
|
using | Eigen::Matrix2Xcf |
| | 2×Dynamic matrix of type std::complex<float>.
|
| |
|
using | Eigen::Matrix2Xd |
| | 2×Dynamic matrix of type double.
|
| |
|
using | Eigen::Matrix2Xf |
| | 2×Dynamic matrix of type float.
|
| |
|
using | Eigen::Matrix2Xi |
| | 2×Dynamic matrix of type int.
|
| |
|
template<typename Type> |
| using | Eigen::Matrix3 |
| | 3×3 matrix of type Type.
|
| |
|
using | Eigen::Matrix3cd |
| | 3×3 matrix of type std::complex<double>.
|
| |
|
using | Eigen::Matrix3cf |
| | 3×3 matrix of type std::complex<float>.
|
| |
|
using | Eigen::Matrix3d |
| | 3×3 matrix of type double.
|
| |
|
using | Eigen::Matrix3f |
| | 3×3 matrix of type float.
|
| |
|
using | Eigen::Matrix3i |
| | 3×3 matrix of type int.
|
| |
|
template<typename Type> |
| using | Eigen::Matrix3X |
| | 3×Dynamic matrix of type Type
|
| |
|
using | Eigen::Matrix3Xcd |
| | 3×Dynamic matrix of type std::complex<double>.
|
| |
|
using | Eigen::Matrix3Xcf |
| | 3×Dynamic matrix of type std::complex<float>.
|
| |
|
using | Eigen::Matrix3Xd |
| | 3×Dynamic matrix of type double.
|
| |
|
using | Eigen::Matrix3Xf |
| | 3×Dynamic matrix of type float.
|
| |
|
using | Eigen::Matrix3Xi |
| | 3×Dynamic matrix of type int.
|
| |
|
template<typename Type> |
| using | Eigen::Matrix4 |
| | 4×4 matrix of type Type.
|
| |
|
using | Eigen::Matrix4cd |
| | 4×4 matrix of type std::complex<double>.
|
| |
|
using | Eigen::Matrix4cf |
| | 4×4 matrix of type std::complex<float>.
|
| |
|
using | Eigen::Matrix4d |
| | 4×4 matrix of type double.
|
| |
|
using | Eigen::Matrix4f |
| | 4×4 matrix of type float.
|
| |
|
using | Eigen::Matrix4i |
| | 4×4 matrix of type int.
|
| |
|
template<typename Type> |
| using | Eigen::Matrix4X |
| | 4×Dynamic matrix of type Type
|
| |
|
using | Eigen::Matrix4Xcd |
| | 4×Dynamic matrix of type std::complex<double>.
|
| |
|
using | Eigen::Matrix4Xcf |
| | 4×Dynamic matrix of type std::complex<float>.
|
| |
|
using | Eigen::Matrix4Xd |
| | 4×Dynamic matrix of type double.
|
| |
|
using | Eigen::Matrix4Xf |
| | 4×Dynamic matrix of type float.
|
| |
|
using | Eigen::Matrix4Xi |
| | 4×Dynamic matrix of type int.
|
| |
|
template<typename Type> |
| using | Eigen::MatrixX |
| | Dynamic×Dynamic matrix of type Type.
|
| |
|
template<typename Type> |
| using | Eigen::MatrixX2 |
| | Dynamic×2 matrix of type Type.
|
| |
|
using | Eigen::MatrixX2cd |
| | Dynamic×2 matrix of type std::complex<double>.
|
| |
|
using | Eigen::MatrixX2cf |
| | Dynamic×2 matrix of type std::complex<float>.
|
| |
|
using | Eigen::MatrixX2d |
| | Dynamic×2 matrix of type double.
|
| |
|
using | Eigen::MatrixX2f |
| | Dynamic×2 matrix of type float.
|
| |
|
using | Eigen::MatrixX2i |
| | Dynamic×2 matrix of type int.
|
| |
|
template<typename Type> |
| using | Eigen::MatrixX3 |
| | Dynamic×3 matrix of type Type.
|
| |
|
using | Eigen::MatrixX3cd |
| | Dynamic×3 matrix of type std::complex<double>.
|
| |
|
using | Eigen::MatrixX3cf |
| | Dynamic×3 matrix of type std::complex<float>.
|
| |
|
using | Eigen::MatrixX3d |
| | Dynamic×3 matrix of type double.
|
| |
|
using | Eigen::MatrixX3f |
| | Dynamic×3 matrix of type float.
|
| |
|
using | Eigen::MatrixX3i |
| | Dynamic×3 matrix of type int.
|
| |
|
template<typename Type> |
| using | Eigen::MatrixX4 |
| | Dynamic×4 matrix of type Type.
|
| |
|
using | Eigen::MatrixX4cd |
| | Dynamic×4 matrix of type std::complex<double>.
|
| |
|
using | Eigen::MatrixX4cf |
| | Dynamic×4 matrix of type std::complex<float>.
|
| |
|
using | Eigen::MatrixX4d |
| | Dynamic×4 matrix of type double.
|
| |
|
using | Eigen::MatrixX4f |
| | Dynamic×4 matrix of type float.
|
| |
|
using | Eigen::MatrixX4i |
| | Dynamic×4 matrix of type int.
|
| |
|
using | Eigen::MatrixXcd |
| | Dynamic×Dynamic matrix of type std::complex<double>.
|
| |
|
using | Eigen::MatrixXcf |
| | Dynamic×Dynamic matrix of type std::complex<float>.
|
| |
|
using | Eigen::MatrixXd |
| | Dynamic×Dynamic matrix of type double.
|
| |
|
using | Eigen::MatrixXf |
| | Dynamic×Dynamic matrix of type float.
|
| |
|
using | Eigen::MatrixXi |
| | Dynamic×Dynamic matrix of type int.
|
| |
|
template<typename Type, int Size> |
| using | Eigen::RowVector |
| | 1×Size vector of type Type.
|
| |
|
template<typename Type> |
| using | Eigen::RowVector2 |
| | 1×2 vector of type Type.
|
| |
|
using | Eigen::RowVector2cd |
| | 1×2 vector of type std::complex<double>.
|
| |
|
using | Eigen::RowVector2cf |
| | 1×2 vector of type std::complex<float>.
|
| |
|
using | Eigen::RowVector2d |
| | 1×2 vector of type double.
|
| |
|
using | Eigen::RowVector2f |
| | 1×2 vector of type float.
|
| |
|
using | Eigen::RowVector2i |
| | 1×2 vector of type int.
|
| |
|
template<typename Type> |
| using | Eigen::RowVector3 |
| | 1×3 vector of type Type.
|
| |
|
using | Eigen::RowVector3cd |
| | 1×3 vector of type std::complex<double>.
|
| |
|
using | Eigen::RowVector3cf |
| | 1×3 vector of type std::complex<float>.
|
| |
|
using | Eigen::RowVector3d |
| | 1×3 vector of type double.
|
| |
|
using | Eigen::RowVector3f |
| | 1×3 vector of type float.
|
| |
|
using | Eigen::RowVector3i |
| | 1×3 vector of type int.
|
| |
|
template<typename Type> |
| using | Eigen::RowVector4 |
| | 1×4 vector of type Type.
|
| |
|
using | Eigen::RowVector4cd |
| | 1×4 vector of type std::complex<double>.
|
| |
|
using | Eigen::RowVector4cf |
| | 1×4 vector of type std::complex<float>.
|
| |
|
using | Eigen::RowVector4d |
| | 1×4 vector of type double.
|
| |
|
using | Eigen::RowVector4f |
| | 1×4 vector of type float.
|
| |
|
using | Eigen::RowVector4i |
| | 1×4 vector of type int.
|
| |
|
template<typename Type> |
| using | Eigen::RowVectorX |
| | 1×Dynamic vector of type Type.
|
| |
|
using | Eigen::RowVectorXcd |
| | 1×Dynamic vector of type std::complex<double>.
|
| |
|
using | Eigen::RowVectorXcf |
| | 1×Dynamic vector of type std::complex<float>.
|
| |
|
using | Eigen::RowVectorXd |
| | 1×Dynamic vector of type double.
|
| |
|
using | Eigen::RowVectorXf |
| | 1×Dynamic vector of type float.
|
| |
|
using | Eigen::RowVectorXi |
| | 1×Dynamic vector of type int.
|
| |
|
template<typename Type, int Size> |
| using | Eigen::Vector |
| | Size×1 vector of type Type.
|
| |
|
template<typename Type> |
| using | Eigen::Vector2 |
| | 2×1 vector of type Type.
|
| |
|
using | Eigen::Vector2cd |
| | 2×1 vector of type std::complex<double>.
|
| |
|
using | Eigen::Vector2cf |
| | 2×1 vector of type std::complex<float>.
|
| |
|
using | Eigen::Vector2d |
| | 2×1 vector of type double.
|
| |
|
using | Eigen::Vector2f |
| | 2×1 vector of type float.
|
| |
|
using | Eigen::Vector2i |
| | 2×1 vector of type int.
|
| |
|
template<typename Type> |
| using | Eigen::Vector3 |
| | 3×1 vector of type Type.
|
| |
|
using | Eigen::Vector3cd |
| | 3×1 vector of type std::complex<double>.
|
| |
|
using | Eigen::Vector3cf |
| | 3×1 vector of type std::complex<float>.
|
| |
|
using | Eigen::Vector3d |
| | 3×1 vector of type double.
|
| |
|
using | Eigen::Vector3f |
| | 3×1 vector of type float.
|
| |
|
using | Eigen::Vector3i |
| | 3×1 vector of type int.
|
| |
|
template<typename Type> |
| using | Eigen::Vector4 |
| | 4×1 vector of type Type.
|
| |
|
using | Eigen::Vector4cd |
| | 4×1 vector of type std::complex<double>.
|
| |
|
using | Eigen::Vector4cf |
| | 4×1 vector of type std::complex<float>.
|
| |
|
using | Eigen::Vector4d |
| | 4×1 vector of type double.
|
| |
|
using | Eigen::Vector4f |
| | 4×1 vector of type float.
|
| |
|
using | Eigen::Vector4i |
| | 4×1 vector of type int.
|
| |
|
template<typename Type> |
| using | Eigen::VectorX |
| | Dynamic×1 vector of type Type.
|
| |
|
using | Eigen::VectorXcd |
| | Dynamic×1 vector of type std::complex<double>.
|
| |
|
using | Eigen::VectorXcf |
| | Dynamic×1 vector of type std::complex<float>.
|
| |
|
using | Eigen::VectorXd |
| | Dynamic×1 vector of type double.
|
| |
|
using | Eigen::VectorXf |
| | Dynamic×1 vector of type float.
|
| |
|
using | Eigen::VectorXi |
| | Dynamic×1 vector of type int.
|
| |