Constructs a matrix from the given elements.
Constructs a matrix from the given elements.
Constructs a matrix from the given 2-dimensional array.
Constructs a matrix as a copy of another.
Constructs a matrix with all elements initialized to the given value.
Adds a given matrix to this one.
Gets an adjugate matrix.
Gets a cofactor matrix.
Gets a copy of this matrix.
Gets the determinant of this matrix.
Divides this matrix by a factor.
Gets a specified column as a vector.
Gets a specified row as a vector.
Gets the inverse of this matrix.
Determines if this matrix is invertible, which simply means a non-zero determinant.
Maps the given 2D vector using this matrix.
Multiplies this matrix by a factor.
Computes the matrix multiplication of this * other.
Multiplies a vector against this matrix.
Gets the value at a specified location in the matrix. For example, with a Mat!(float, 2, 2) m, we can say float v = m[0, 1];
Sets the value at a specified location in the matrix.
Applies a 2D rotation to this matrix.
Applies a 3D rotation to this matrix about the x, y, and then z axes.
Applies a rotation to this matrix about the x-axis.
Applies a rotation to this matrix about the y-axis.
Applies a rotation to this matrix about the z-axis.
Adds a row, multiplied by a factor, to another row.
Multiplies a row by a factor.
Switches two rows in this matrix.
Applies a 2D scaling to this matrix.
Applies a uniform 2D scaling to this matrix on all axes.
Applies a 3D scaling to this matrix.
Applies a uniform 3D scaling to this matrix on all axes.
Sets a specified column to the given vector of elements.
Sets all elements of this matrix using the given elements.
Sets a specified row to the given vector of elements.
Applies a 2D shear to this matrix.
Subtracts a given matrix from this one.
Gets a submatrix of this matrix, with the given rows and columns removed.
Converts this matrix to a string.
Applies a 2D translation to this matrix.
Applies a 3D translation to this matrix.
Gets the transpose of this matrix, and stores it in this matrix.
Gets an identity matrix.
The internal static array storing the elements in row-major form.
Generic struct that represents a matrix with rowCount rows and colCount columns, holding elements of type T. A matrix must be at least 1x1.