Constructs a Matrix specifying all elements.
Constructs a Matrix specifying the diagonal value.
Alias for Matrix element type.
Row size
Column size
Returns a Range of all columns.
Returns a Range of all columns.
Copy Matrix values into target Matrix of any dimensions. If dimensions are not the same, the values at non-overlapping indices are ignored.
Returns the result of multiplying vec by Matrix. If matrix is not square, the resulting array dimension will be different from input.
Returns the result of Matrix multiplication.
Returns a copy of Matrix, adjusting dimensions as necessary. Non-overlapping indices will stay initialized to 0.
Index a column.
Index an element directly.
Inplace matrix multiplication with "*=" operator, only available for square matrices.
Returns a Range of all rows.
Returns a Range of all rows.
Number of elements in each column, same as the number of rows.
Constant Identity matrix (diagonal values 1).
Whether matrix is square or not.
Minimum dimension between number of rows and number of columns.
Total number of elements.
Number of elements in each row, same as the number of columns.
Constructs a Matrix from all elements in column-major format.
Constructs a Matrix from an array of all elements in column-major format.
Constructs a Matrix from a 2D array of columns.
Constructs a Matrix with all diagonal values equal to diag and all others equal to 0.
Constructs a Matrix with diagonal values from diag and all others equal to 0.
Constructs a Matrix from row-major format
Returns an orthographic projection matrix.
Returns a perspective projection matrix.
Calls perspective converting angle from degrees to radians.
Matrix underlying elements.
Column-major 2D matrix type.