diff --git a/src/base/alias.rs b/src/base/alias.rs index e798ea35..2cba116b 100644 --- a/src/base/alias.rs +++ b/src/base/alias.rs @@ -27,6 +27,44 @@ pub type MatrixN = MatrixMN; #[cfg(any(feature = "std", feature = "alloc"))] pub type DMatrix = MatrixN; +/// A heap-allocated, column-major, matrix with a dynamic number of rows and 1 columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type MatrixXx1 = MatrixMN; +/// A heap-allocated, column-major, matrix with a dynamic number of rows and 2 columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type MatrixXx2 = MatrixMN; +/// A heap-allocated, column-major, matrix with a dynamic number of rows and 3 columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type MatrixXx3 = MatrixMN; +/// A heap-allocated, column-major, matrix with a dynamic number of rows and 4 columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type MatrixXx4 = MatrixMN; +/// A heap-allocated, column-major, matrix with a dynamic number of rows and 5 columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type MatrixXx5 = MatrixMN; +/// A heap-allocated, column-major, matrix with a dynamic number of rows and 6 columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type MatrixXx6 = MatrixMN; + +/// A heap-allocated, row-major, matrix with 1 rows and a dynamic number of columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type Matrix1xX = MatrixMN; +/// A heap-allocated, row-major, matrix with 2 rows and a dynamic number of columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type Matrix2xX = MatrixMN; +/// A heap-allocated, row-major, matrix with 3 rows and a dynamic number of columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type Matrix3xX = MatrixMN; +/// A heap-allocated, row-major, matrix with 4 rows and a dynamic number of columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type Matrix4xX = MatrixMN; +/// A heap-allocated, row-major, matrix with 5 rows and a dynamic number of columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type Matrix5xX = MatrixMN; +/// A heap-allocated, row-major, matrix with 6 rows and a dynamic number of columns. +#[cfg(any(feature = "std", feature = "alloc"))] +pub type Matrix6xX = MatrixMN; + /// A stack-allocated, column-major, 1x1 square matrix. pub type Matrix1 = MatrixN; /// A stack-allocated, column-major, 2x2 square matrix.