Creates a new mat2d initialized with values from an existing matrix
matrix to clone
a new 2x3 matrix
Creates a new identity mat2d
a new 2x3 matrix
Calculates the determinant of a mat2d
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 mat2d
the matrix to calculate Frobenius norm of
Frobenius norm
Create a new mat2d with the given values
Component A (index 0)
Component B (index 1)
Component C (index 2)
Component D (index 3)
Component TX (index 4)
Component TY (index 5)
A new mat2d
Set the components of a mat2d to the given values
the receiving matrix
Component A (index 0)
Component B (index 1)
Component C (index 2)
Component D (index 3)
Component TX (index 4)
Component TY (index 5)
out
Returns a string representation of a mat2d
matrix to represent as a string
string representation of the matrix
Adds two mat2d's