This function returns a new matrix (B) that is the inverse of the given matrix (A), i.e. A * B = Identity matrix
const matrix = new Matrix([-5, 2, 6, -8, 1, -5, 1, 8, 7, 7, -6, -7, 1, -3, 7, 4], 4, 4) matrixInverse(matrix) -> Matrix([0.21805..., 0.45113..., 0.24060..., -0.04511..., -0.80827..., -1.45677..., -0.44361..., 0.52068..., -0.07895..., -0.22368..., -0.05263..., 0.19737..., -0.52256..., -0.81391..., -0.30075..., 0.30639...])
Matrix to find inverse of
Generated using TypeDoc
This function returns a new matrix (B) that is the inverse of the given matrix (A), i.e. A * B = Identity matrix
Example