use core::Matrix; use core::dimension::{Dynamic, U1, U2, U3, U4, U5, U6}; use core::matrix_array::MatrixArray; use core::matrix_vec::MatrixVec; /* * * * Column-major matrices. * * */ /// A dynamically sized column-major matrix. pub type DMatrix = Matrix>; /// A staticaly sized column-major matrix with `R` rows and `C` columns. pub type MatrixNM = Matrix>; /// A staticaly sized column-major square matrix with `D` rows and columns. pub type MatrixN = MatrixNM; /// A stack-allocated, column-major, 1x1 square matrix. pub type Matrix1 = MatrixN; /// A stack-allocated, column-major, 2x2 square matrix. pub type Matrix2 = MatrixN; /// A stack-allocated, column-major, 3x3 square matrix. pub type Matrix3 = MatrixN; /// A stack-allocated, column-major, 4x4 square matrix. pub type Matrix4 = MatrixN; /// A stack-allocated, column-major, 5x5 square matrix. pub type Matrix5 = MatrixN; /// A stack-allocated, column-major, 6x6 square matrix. pub type Matrix6 = MatrixN; /// A stack-allocated, column-major, 1x2 square matrix. pub type Matrix1x2 = MatrixNM; /// A stack-allocated, column-major, 1x3 square matrix. pub type Matrix1x3 = MatrixNM; /// A stack-allocated, column-major, 1x4 square matrix. pub type Matrix1x4 = MatrixNM; /// A stack-allocated, column-major, 1x5 square matrix. pub type Matrix1x5 = MatrixNM; /// A stack-allocated, column-major, 1x6 square matrix. pub type Matrix1x6 = MatrixNM; /// A stack-allocated, column-major, 2x3 square matrix. pub type Matrix2x3 = MatrixNM; /// A stack-allocated, column-major, 2x4 square matrix. pub type Matrix2x4 = MatrixNM; /// A stack-allocated, column-major, 2x5 square matrix. pub type Matrix2x5 = MatrixNM; /// A stack-allocated, column-major, 2x6 square matrix. pub type Matrix2x6 = MatrixNM; /// A stack-allocated, column-major, 3x4 square matrix. pub type Matrix3x4 = MatrixNM; /// A stack-allocated, column-major, 3x5 square matrix. pub type Matrix3x5 = MatrixNM; /// A stack-allocated, column-major, 3x6 square matrix. pub type Matrix3x6 = MatrixNM; /// A stack-allocated, column-major, 4x5 square matrix. pub type Matrix4x5 = MatrixNM; /// A stack-allocated, column-major, 4x6 square matrix. pub type Matrix4x6 = MatrixNM; /// A stack-allocated, column-major, 5x6 square matrix. pub type Matrix5x6 = MatrixNM; /// A stack-allocated, column-major, 2x1 square matrix. pub type Matrix2x1 = MatrixNM; /// A stack-allocated, column-major, 3x1 square matrix. pub type Matrix3x1 = MatrixNM; /// A stack-allocated, column-major, 4x1 square matrix. pub type Matrix4x1 = MatrixNM; /// A stack-allocated, column-major, 5x1 square matrix. pub type Matrix5x1 = MatrixNM; /// A stack-allocated, column-major, 6x1 square matrix. pub type Matrix6x1 = MatrixNM; /// A stack-allocated, column-major, 3x2 square matrix. pub type Matrix3x2 = MatrixNM; /// A stack-allocated, column-major, 4x2 square matrix. pub type Matrix4x2 = MatrixNM; /// A stack-allocated, column-major, 5x2 square matrix. pub type Matrix5x2 = MatrixNM; /// A stack-allocated, column-major, 6x2 square matrix. pub type Matrix6x2 = MatrixNM; /// A stack-allocated, column-major, 4x3 square matrix. pub type Matrix4x3 = MatrixNM; /// A stack-allocated, column-major, 5x3 square matrix. pub type Matrix5x3 = MatrixNM; /// A stack-allocated, column-major, 6x3 square matrix. pub type Matrix6x3 = MatrixNM; /// A stack-allocated, column-major, 5x4 square matrix. pub type Matrix5x4 = MatrixNM; /// A stack-allocated, column-major, 6x4 square matrix. pub type Matrix6x4 = MatrixNM; /// A stack-allocated, column-major, 6x5 square matrix. pub type Matrix6x5 = MatrixNM; /* * * * Column vectors. * * */ /// A dynamically sized column vector. pub type DVector = Matrix>; /// A statically sized D-dimensional column vector. pub type VectorN = MatrixNM; /// A stack-allocated, 1-dimensional column vector. pub type Vector1 = VectorN; /// A stack-allocated, 2-dimensional column vector. pub type Vector2 = VectorN; /// A stack-allocated, 3-dimensional column vector. pub type Vector3 = VectorN; /// A stack-allocated, 4-dimensional column vector. pub type Vector4 = VectorN; /// A stack-allocated, 5-dimensional column vector. pub type Vector5 = VectorN; /// A stack-allocated, 6-dimensional column vector. pub type Vector6 = VectorN; /* * * * Row vectors. * * */ /// A dynamically sized row vector. pub type RowDVector = Matrix>; /// A statically sized D-dimensional row vector. pub type RowVectorN = MatrixNM; /// A stack-allocated, 1-dimensional row vector. pub type RowVector1 = RowVectorN; /// A stack-allocated, 2-dimensional row vector. pub type RowVector2 = RowVectorN; /// A stack-allocated, 3-dimensional row vector. pub type RowVector3 = RowVectorN; /// A stack-allocated, 4-dimensional row vector. pub type RowVector4 = RowVectorN; /// A stack-allocated, 5-dimensional row vector. pub type RowVector5 = RowVectorN; /// A stack-allocated, 6-dimensional row vector. pub type RowVector6 = RowVectorN;