Module matrix

Source
Expand description

Matrix type?

Structs§

ColMajor
Marker type for column major matrices.
Matrix
The matrix type. Statically-sized matrix.
RowMajor
Marker type for row major matrices.

Enums§

MatMajorAxisEnum
Enum that mirrors the MatMajorAxis trait and its impls.
ResolvedMatrix
See Matrix::resolve.
ResolvedMatrixMut
See Matrix::resolve_mut.
ResolvedMatrixRef
See Matrix::resolve_ref.

Traits§

MatMajorAxis
Marker trait for matrix major axis.

Functions§

splat2x2c
Constructs a column-major aligned matrix2x2 where all elements are the same value.
splat2x2cp
Constructs a column-major unaligned matrix2x2 where all elements are the same value.
splat2x2r
Constructs a row-major aligned matrix2x2 where all elements are the same value.
splat2x2rp
Constructs a row-major unaligned matrix2x2 where all elements are the same value.
splat2x3c
Constructs a column-major aligned matrix2x3 where all elements are the same value.
splat2x3cp
Constructs a column-major unaligned matrix2x3 where all elements are the same value.
splat2x3r
Constructs a row-major aligned matrix2x3 where all elements are the same value.
splat2x3rp
Constructs a row-major unaligned matrix2x3 where all elements are the same value.
splat2x4c
Constructs a column-major aligned matrix2x4 where all elements are the same value.
splat2x4cp
Constructs a column-major unaligned matrix2x4 where all elements are the same value.
splat2x4r
Constructs a row-major aligned matrix2x4 where all elements are the same value.
splat2x4rp
Constructs a row-major unaligned matrix2x4 where all elements are the same value.
splat3x2c
Constructs a column-major aligned matrix3x2 where all elements are the same value.
splat3x2cp
Constructs a column-major unaligned matrix3x2 where all elements are the same value.
splat3x2r
Constructs a row-major aligned matrix3x2 where all elements are the same value.
splat3x2rp
Constructs a row-major unaligned matrix3x2 where all elements are the same value.
splat3x3c
Constructs a column-major aligned matrix3x3 where all elements are the same value.
splat3x3cp
Constructs a column-major unaligned matrix3x3 where all elements are the same value.
splat3x3r
Constructs a row-major aligned matrix3x3 where all elements are the same value.
splat3x3rp
Constructs a row-major unaligned matrix3x3 where all elements are the same value.
splat3x4c
Constructs a column-major aligned matrix3x4 where all elements are the same value.
splat3x4cp
Constructs a column-major unaligned matrix3x4 where all elements are the same value.
splat3x4r
Constructs a row-major aligned matrix3x4 where all elements are the same value.
splat3x4rp
Constructs a row-major unaligned matrix3x4 where all elements are the same value.
splat4x2c
Constructs a column-major aligned matrix4x2 where all elements are the same value.
splat4x2cp
Constructs a column-major unaligned matrix4x2 where all elements are the same value.
splat4x2r
Constructs a row-major aligned matrix4x2 where all elements are the same value.
splat4x2rp
Constructs a row-major unaligned matrix4x2 where all elements are the same value.
splat4x3c
Constructs a column-major aligned matrix4x3 where all elements are the same value.
splat4x3cp
Constructs a column-major unaligned matrix4x3 where all elements are the same value.
splat4x3r
Constructs a row-major aligned matrix4x3 where all elements are the same value.
splat4x3rp
Constructs a row-major unaligned matrix4x3 where all elements are the same value.
splat4x4c
Constructs a column-major aligned matrix4x4 where all elements are the same value.
splat4x4cp
Constructs a column-major unaligned matrix4x4 where all elements are the same value.
splat4x4r
Constructs a row-major aligned matrix4x4 where all elements are the same value.
splat4x4rp
Constructs a row-major unaligned matrix4x4 where all elements are the same value.

Type Aliases§

Mat2C
Type alias to Matrix<2, 2, T, VecAligned, ColumnMajor>.
Mat2CP
Type alias to Matrix<2, 2, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat2C.
Mat2R
Type alias to Matrix<2, 2, T, VecAligned, RowMajor>.
Mat2RP
Type alias to Matrix<2, 2, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat2R.
Mat2x3C
Type alias to Matrix<2, 3, T, VecAligned, ColumnMajor>.
Mat2x3CP
Type alias to Matrix<2, 3, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat2x3C.
Mat2x3R
Type alias to Matrix<2, 3, T, VecAligned, RowMajor>.
Mat2x3RP
Type alias to Matrix<2, 3, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat2x3R.
Mat2x4C
Type alias to Matrix<2, 4, T, VecAligned, ColumnMajor>.
Mat2x4CP
Type alias to Matrix<2, 4, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat2x4C.
Mat2x4R
Type alias to Matrix<2, 4, T, VecAligned, RowMajor>.
Mat2x4RP
Type alias to Matrix<2, 4, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat2x4R.
Mat3C
Type alias to Matrix<3, 3, T, VecAligned, ColumnMajor>.
Mat3CP
Type alias to Matrix<3, 3, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat3C.
Mat3R
Type alias to Matrix<3, 3, T, VecAligned, RowMajor>.
Mat3RP
Type alias to Matrix<3, 3, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat3R.
Mat3x2C
Type alias to Matrix<3, 2, T, VecAligned, ColumnMajor>.
Mat3x2CP
Type alias to Matrix<3, 2, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat3x2C.
Mat3x2R
Type alias to Matrix<3, 2, T, VecAligned, RowMajor>.
Mat3x2RP
Type alias to Matrix<3, 2, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat3x2R.
Mat3x4C
Type alias to Matrix<3, 4, T, VecAligned, ColumnMajor>.
Mat3x4CP
Type alias to Matrix<3, 4, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat3x4C.
Mat3x4R
Type alias to Matrix<3, 4, T, VecAligned, RowMajor>.
Mat3x4RP
Type alias to Matrix<3, 4, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat3x4R.
Mat4C
Type alias to Matrix<4, 4, T, VecAligned, ColumnMajor>.
Mat4CP
Type alias to Matrix<4, 4, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat4C.
Mat4R
Type alias to Matrix<4, 4, T, VecAligned, RowMajor>.
Mat4RP
Type alias to Matrix<4, 4, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat4R.
Mat4x2C
Type alias to Matrix<4, 2, T, VecAligned, ColumnMajor>.
Mat4x2CP
Type alias to Matrix<4, 2, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat4x2C.
Mat4x2R
Type alias to Matrix<4, 2, T, VecAligned, RowMajor>.
Mat4x2RP
Type alias to Matrix<4, 2, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat4x2R.
Mat4x3C
Type alias to Matrix<4, 3, T, VecAligned, ColumnMajor>.
Mat4x3CP
Type alias to Matrix<4, 3, T, VecPacked, ColumnMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat4x3C.
Mat4x3R
Type alias to Matrix<4, 3, T, VecAligned, RowMajor>.
Mat4x3RP
Type alias to Matrix<4, 3, T, VecPacked, RowMajor>. If you don’t know the difference between VecAligned and VecPacked, use Mat4x3R.