Internal typed array storing matrix data in column-major order
ReadonlyclassReturns the class name of the matrix implementation
ReadonlyisIndicates if this matrix is an identity matrix class
Swaps two elements in the internal array.
Left index
Right index
Gets the value at the specified row and column.
Row index (0-based)
Column index (0-based)
Value at the specified position
Copies components from another matrix.
Source matrix to copy from
This matrix for method chaining
Calculates the determinant of the matrix.
Determinant value
Flattens the matrix into a plain JavaScript array.
Array containing all matrix elements
Checks if this is a dummy/placeholder matrix.
True if this is a dummy matrix
Checks if the internal array buffer is the same as the provided one.
Array buffer to compare against
True if the source is the same
Multiplies this matrix by another matrix.
Matrix to multiply by
This matrix for method chaining
Multiplies this matrix by another matrix from the left.
Matrix to multiply from the left
This matrix for method chaining
Multiplies this matrix by a scale vector.
Scale vector
This matrix for method chaining
Applies a rotation to this matrix.
Rotation parameters (type varies by matrix dimension)
This matrix for method chaining
Applies scaling to this matrix.
Scale vector
This matrix for method chaining
Sets the value at the specified row and column.
Row index (0-based)
Column index (0-based)
Value to set
Sets all matrix components from individual values.
Variable number of numeric values
This matrix for method chaining
Converts the matrix to a string representation.
String representation of the matrix
Converts the matrix to an approximate string representation.
Approximate string representation with rounded values
Gets the value at the specified linear index.
Linear index in the internal array
Value at the specified index
Interface for mutable matrix operations. Extends IMatrix with methods that modify the matrix in place.