Creates a new mat3 initialized with values from an existing matrix
matrix to clone
a new 3x3 matrix
Creates a new identity mat3
a new 3x3 matrix
Calculates the determinant of a mat3
the source matrix
determinant of a
Returns whether or not the matrices have approximately the same elements in the same position.
The first matrix.
The second matrix.
True if the matrices are equal, false otherwise.
Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)
The first matrix.
The second matrix.
True if the matrices are equal, false otherwise.
Returns Frobenius norm of a mat3
the matrix to calculate Frobenius norm of
Frobenius norm
Create a new mat3 with the given values
Component in column 0, row 0 position (index 0)
Component in column 0, row 1 position (index 1)
Component in column 0, row 2 position (index 2)
Component in column 1, row 0 position (index 3)
Component in column 1, row 1 position (index 4)
Component in column 1, row 2 position (index 5)
Component in column 2, row 0 position (index 6)
Component in column 2, row 1 position (index 7)
Component in column 2, row 2 position (index 8)
A new mat3
Set the components of a mat3 to the given values
the receiving matrix
Component in column 0, row 0 position (index 0)
Component in column 0, row 1 position (index 1)
Component in column 0, row 2 position (index 2)
Component in column 1, row 0 position (index 3)
Component in column 1, row 1 position (index 4)
Component in column 1, row 2 position (index 5)
Component in column 2, row 0 position (index 6)
Component in column 2, row 1 position (index 7)
Component in column 2, row 2 position (index 8)
out
Returns a string representation of a mat3
matrix to represent as a string
string representation of the matrix
Adds two mat3's