Eigen  3.2.10

Detailed Description

Eigen defines several typedef shortcuts for most common matrix and vector types.

The general patterns are the following:

MatrixSizeType where Size can be 2,3,4 for fixed size square matrices or X for dynamic size, and where Type can be i for integer, f for float, d for double, cf for complex float, cd for complex double.

For example, Matrix3d is a fixed-size 3x3 matrix type of doubles, and MatrixXf is a dynamic-size matrix of floats.

There are also VectorSizeType and RowVectorSizeType which are self-explanatory. For example, Vector4cf is a fixed-size vector of 4 complex floats.

See also
class Matrix

Typedefs

typedef Matrix< std::complex< double >, 2, 2 > Matrix2cd
 
typedef Matrix< std::complex< float >, 2, 2 > Matrix2cf
 
typedef Matrix< double, 2, 2 > Matrix2d
 
typedef Matrix< float, 2, 2 > Matrix2f
 
typedef Matrix< int, 2, 2 > Matrix2i
 
typedef Matrix< std::complex< double >, 2, Dynamic > Matrix2Xcd
 
typedef Matrix< std::complex< float >, 2, Dynamic > Matrix2Xcf
 
typedef Matrix< double, 2, Dynamic > Matrix2Xd
 
typedef Matrix< float, 2, Dynamic > Matrix2Xf
 
typedef Matrix< int, 2, Dynamic > Matrix2Xi
 
typedef Matrix< std::complex< double >, 3, 3 > Matrix3cd
 
typedef Matrix< std::complex< float >, 3, 3 > Matrix3cf
 
typedef Matrix< double, 3, 3 > Matrix3d
 
typedef Matrix< float, 3, 3 > Matrix3f
 
typedef Matrix< int, 3, 3 > Matrix3i
 
typedef Matrix< std::complex< double >, 3, Dynamic > Matrix3Xcd
 
typedef Matrix< std::complex< float >, 3, Dynamic > Matrix3Xcf
 
typedef Matrix< double, 3, Dynamic > Matrix3Xd
 
typedef Matrix< float, 3, Dynamic > Matrix3Xf
 
typedef Matrix< int, 3, Dynamic > Matrix3Xi
 
typedef Matrix< std::complex< double >, 4, 4 > Matrix4cd
 
typedef Matrix< std::complex< float >, 4, 4 > Matrix4cf
 
typedef Matrix< double, 4, 4 > Matrix4d
 
typedef Matrix< float, 4, 4 > Matrix4f
 
typedef Matrix< int, 4, 4 > Matrix4i
 
typedef Matrix< std::complex< double >, 4, Dynamic > Matrix4Xcd
 
typedef Matrix< std::complex< float >, 4, Dynamic > Matrix4Xcf
 
typedef Matrix< double, 4, Dynamic > Matrix4Xd
 
typedef Matrix< float, 4, Dynamic > Matrix4Xf
 
typedef Matrix< int, 4, Dynamic > Matrix4Xi
 
typedef Matrix< std::complex< double >, Dynamic, 2 > MatrixX2cd
 
typedef Matrix< std::complex< float >, Dynamic, 2 > MatrixX2cf
 
typedef Matrix< double, Dynamic, 2 > MatrixX2d
 
typedef Matrix< float, Dynamic, 2 > MatrixX2f
 
typedef Matrix< int, Dynamic, 2 > MatrixX2i
 
typedef Matrix< std::complex< double >, Dynamic, 3 > MatrixX3cd
 
typedef Matrix< std::complex< float >, Dynamic, 3 > MatrixX3cf
 
typedef Matrix< double, Dynamic, 3 > MatrixX3d
 
typedef Matrix< float, Dynamic, 3 > MatrixX3f
 
typedef Matrix< int, Dynamic, 3 > MatrixX3i
 
typedef Matrix< std::complex< double >, Dynamic, 4 > MatrixX4cd
 
typedef Matrix< std::complex< float >, Dynamic, 4 > MatrixX4cf
 
typedef Matrix< double, Dynamic, 4 > MatrixX4d
 
typedef Matrix< float, Dynamic, 4 > MatrixX4f
 
typedef Matrix< int, Dynamic, 4 > MatrixX4i
 
typedef Matrix< std::complex< double >, Dynamic, Dynamic > MatrixXcd
 
typedef Matrix< std::complex< float >, Dynamic, Dynamic > MatrixXcf
 
typedef Matrix< double, Dynamic, Dynamic > MatrixXd
 
typedef Matrix< float, Dynamic, Dynamic > MatrixXf
 
typedef Matrix< int, Dynamic, Dynamic > MatrixXi
 
typedef Matrix< std::complex< double >, 1, 2 > RowVector2cd
 
typedef Matrix< std::complex< float >, 1, 2 > RowVector2cf
 
typedef Matrix< double, 1, 2 > RowVector2d
 
typedef Matrix< float, 1, 2 > RowVector2f
 
typedef Matrix< int, 1, 2 > RowVector2i
 
typedef Matrix< std::complex< double >, 1, 3 > RowVector3cd
 
typedef Matrix< std::complex< float >, 1, 3 > RowVector3cf
 
typedef Matrix< double, 1, 3 > RowVector3d
 
typedef Matrix< float, 1, 3 > RowVector3f
 
typedef Matrix< int, 1, 3 > RowVector3i
 
typedef Matrix< std::complex< double >, 1, 4 > RowVector4cd
 
typedef Matrix< std::complex< float >, 1, 4 > RowVector4cf
 
typedef Matrix< double, 1, 4 > RowVector4d
 
typedef Matrix< float, 1, 4 > RowVector4f
 
typedef Matrix< int, 1, 4 > RowVector4i
 
typedef Matrix< std::complex< double >, 1, Dynamic > RowVectorXcd
 
typedef Matrix< std::complex< float >, 1, Dynamic > RowVectorXcf
 
typedef Matrix< double, 1, Dynamic > RowVectorXd
 
typedef Matrix< float, 1, Dynamic > RowVectorXf
 
typedef Matrix< int, 1, Dynamic > RowVectorXi
 
typedef Matrix< std::complex< double >, 2, 1 > Vector2cd
 
typedef Matrix< std::complex< float >, 2, 1 > Vector2cf
 
typedef Matrix< double, 2, 1 > Vector2d
 
typedef Matrix< float, 2, 1 > Vector2f
 
typedef Matrix< int, 2, 1 > Vector2i
 
typedef Matrix< std::complex< double >, 3, 1 > Vector3cd
 
typedef Matrix< std::complex< float >, 3, 1 > Vector3cf
 
typedef Matrix< double, 3, 1 > Vector3d
 
typedef Matrix< float, 3, 1 > Vector3f
 
typedef Matrix< int, 3, 1 > Vector3i
 
typedef Matrix< std::complex< double >, 4, 1 > Vector4cd
 
typedef Matrix< std::complex< float >, 4, 1 > Vector4cf
 
typedef Matrix< double, 4, 1 > Vector4d
 
typedef Matrix< float, 4, 1 > Vector4f
 
typedef Matrix< int, 4, 1 > Vector4i
 
typedef Matrix< std::complex< double >, Dynamic, 1 > VectorXcd
 
typedef Matrix< std::complex< float >, Dynamic, 1 > VectorXcf
 
typedef Matrix< double, Dynamic, 1 > VectorXd
 
typedef Matrix< float, Dynamic, 1 > VectorXf
 
typedef Matrix< int, Dynamic, 1 > VectorXi
 

Typedef Documentation

§ Matrix2cd

typedef Matrix< std::complex<double> , 2 , 2 > Matrix2cd

§ Matrix2cf

typedef Matrix< std::complex<float> , 2 , 2 > Matrix2cf

§ Matrix2d

typedef Matrix< double , 2 , 2 > Matrix2d

§ Matrix2f

typedef Matrix< float , 2 , 2 > Matrix2f

§ Matrix2i

typedef Matrix< int , 2 , 2 > Matrix2i

§ Matrix2Xcd

typedef Matrix< std::complex<double> , 2 , Dynamic> Matrix2Xcd

§ Matrix2Xcf

typedef Matrix< std::complex<float> , 2 , Dynamic> Matrix2Xcf

§ Matrix2Xd

typedef Matrix< double , 2 , Dynamic> Matrix2Xd

§ Matrix2Xf

typedef Matrix< float , 2 , Dynamic> Matrix2Xf

§ Matrix2Xi

typedef Matrix< int , 2 , Dynamic> Matrix2Xi

§ Matrix3cd

typedef Matrix< std::complex<double> , 3 , 3 > Matrix3cd

§ Matrix3cf

typedef Matrix< std::complex<float> , 3 , 3 > Matrix3cf

§ Matrix3d

typedef Matrix< double , 3 , 3 > Matrix3d

§ Matrix3f

typedef Matrix< float , 3 , 3 > Matrix3f

§ Matrix3i

typedef Matrix< int , 3 , 3 > Matrix3i

§ Matrix3Xcd

typedef Matrix< std::complex<double> , 3 , Dynamic> Matrix3Xcd

§ Matrix3Xcf

typedef Matrix< std::complex<float> , 3 , Dynamic> Matrix3Xcf

§ Matrix3Xd

typedef Matrix< double , 3 , Dynamic> Matrix3Xd

§ Matrix3Xf

typedef Matrix< float , 3 , Dynamic> Matrix3Xf

§ Matrix3Xi

typedef Matrix< int , 3 , Dynamic> Matrix3Xi

§ Matrix4cd

typedef Matrix< std::complex<double> , 4 , 4 > Matrix4cd

§ Matrix4cf

typedef Matrix< std::complex<float> , 4 , 4 > Matrix4cf

§ Matrix4d

typedef Matrix< double , 4 , 4 > Matrix4d

§ Matrix4f

typedef Matrix< float , 4 , 4 > Matrix4f

§ Matrix4i

typedef Matrix< int , 4 , 4 > Matrix4i

§ Matrix4Xcd

typedef Matrix< std::complex<double> , 4 , Dynamic> Matrix4Xcd

§ Matrix4Xcf

typedef Matrix< std::complex<float> , 4 , Dynamic> Matrix4Xcf

§ Matrix4Xd

typedef Matrix< double , 4 , Dynamic> Matrix4Xd

§ Matrix4Xf

typedef Matrix< float , 4 , Dynamic> Matrix4Xf

§ Matrix4Xi

typedef Matrix< int , 4 , Dynamic> Matrix4Xi

§ MatrixX2cd

typedef Matrix< std::complex<double> , Dynamic, 2 > MatrixX2cd

§ MatrixX2cf

typedef Matrix< std::complex<float> , Dynamic, 2 > MatrixX2cf

§ MatrixX2d

typedef Matrix< double , Dynamic, 2 > MatrixX2d

§ MatrixX2f

typedef Matrix< float , Dynamic, 2 > MatrixX2f

§ MatrixX2i

typedef Matrix< int , Dynamic, 2 > MatrixX2i

§ MatrixX3cd

typedef Matrix< std::complex<double> , Dynamic, 3 > MatrixX3cd

§ MatrixX3cf

typedef Matrix< std::complex<float> , Dynamic, 3 > MatrixX3cf

§ MatrixX3d

typedef Matrix< double , Dynamic, 3 > MatrixX3d

§ MatrixX3f

typedef Matrix< float , Dynamic, 3 > MatrixX3f

§ MatrixX3i

typedef Matrix< int , Dynamic, 3 > MatrixX3i

§ MatrixX4cd

typedef Matrix< std::complex<double> , Dynamic, 4 > MatrixX4cd

§ MatrixX4cf

typedef Matrix< std::complex<float> , Dynamic, 4 > MatrixX4cf

§ MatrixX4d

typedef Matrix< double , Dynamic, 4 > MatrixX4d

§ MatrixX4f

typedef Matrix< float , Dynamic, 4 > MatrixX4f

§ MatrixX4i

typedef Matrix< int , Dynamic, 4 > MatrixX4i

§ MatrixXcd

typedef Matrix< std::complex<double> , Dynamic , Dynamic > MatrixXcd

§ MatrixXcf

typedef Matrix< std::complex<float> , Dynamic , Dynamic > MatrixXcf

§ MatrixXd

typedef Matrix< double , Dynamic , Dynamic > MatrixXd

§ MatrixXf

typedef Matrix< float , Dynamic , Dynamic > MatrixXf

§ MatrixXi

typedef Matrix< int , Dynamic , Dynamic > MatrixXi

§ RowVector2cd

typedef Matrix< std::complex<double> , 1, 2 > RowVector2cd

§ RowVector2cf

typedef Matrix< std::complex<float> , 1, 2 > RowVector2cf

§ RowVector2d

typedef Matrix< double , 1, 2 > RowVector2d

§ RowVector2f

typedef Matrix< float , 1, 2 > RowVector2f

§ RowVector2i

typedef Matrix< int , 1, 2 > RowVector2i

§ RowVector3cd

typedef Matrix< std::complex<double> , 1, 3 > RowVector3cd

§ RowVector3cf

typedef Matrix< std::complex<float> , 1, 3 > RowVector3cf

§ RowVector3d

typedef Matrix< double , 1, 3 > RowVector3d

§ RowVector3f

typedef Matrix< float , 1, 3 > RowVector3f

§ RowVector3i

typedef Matrix< int , 1, 3 > RowVector3i

§ RowVector4cd

typedef Matrix< std::complex<double> , 1, 4 > RowVector4cd

§ RowVector4cf

typedef Matrix< std::complex<float> , 1, 4 > RowVector4cf

§ RowVector4d

typedef Matrix< double , 1, 4 > RowVector4d

§ RowVector4f

typedef Matrix< float , 1, 4 > RowVector4f

§ RowVector4i

typedef Matrix< int , 1, 4 > RowVector4i

§ RowVectorXcd

typedef Matrix< std::complex<double> , 1, Dynamic > RowVectorXcd

§ RowVectorXcf

typedef Matrix< std::complex<float> , 1, Dynamic > RowVectorXcf

§ RowVectorXd

typedef Matrix< double , 1, Dynamic > RowVectorXd

§ RowVectorXf

typedef Matrix< float , 1, Dynamic > RowVectorXf

§ RowVectorXi

typedef Matrix< int , 1, Dynamic > RowVectorXi

§ Vector2cd

typedef Matrix< std::complex<double> , 2 , 1> Vector2cd

§ Vector2cf

typedef Matrix< std::complex<float> , 2 , 1> Vector2cf

§ Vector2d

typedef Matrix< double , 2 , 1> Vector2d

§ Vector2f

typedef Matrix< float , 2 , 1> Vector2f

§ Vector2i

typedef Matrix< int , 2 , 1> Vector2i

§ Vector3cd

typedef Matrix< std::complex<double> , 3 , 1> Vector3cd

§ Vector3cf

typedef Matrix< std::complex<float> , 3 , 1> Vector3cf

§ Vector3d

typedef Matrix< double , 3 , 1> Vector3d

§ Vector3f

typedef Matrix< float , 3 , 1> Vector3f

§ Vector3i

typedef Matrix< int , 3 , 1> Vector3i

§ Vector4cd

typedef Matrix< std::complex<double> , 4 , 1> Vector4cd

§ Vector4cf

typedef Matrix< std::complex<float> , 4 , 1> Vector4cf

§ Vector4d

typedef Matrix< double , 4 , 1> Vector4d

§ Vector4f

typedef Matrix< float , 4 , 1> Vector4f

§ Vector4i

typedef Matrix< int , 4 , 1> Vector4i

§ VectorXcd

typedef Matrix< std::complex<double> , Dynamic , 1> VectorXcd

§ VectorXcf

typedef Matrix< std::complex<float> , Dynamic , 1> VectorXcf

§ VectorXd

typedef Matrix< double , Dynamic , 1> VectorXd

§ VectorXf

typedef Matrix< float , Dynamic , 1> VectorXf

§ VectorXi

typedef Matrix< int , Dynamic , 1> VectorXi