Calculates the inverse of a matrix.
The matrix
const result = Chalkboard.matr.invert([[1, 1], [1, 2]]); // Returns [[2, -1], [-1, 1]] Copy
const result = Chalkboard.matr.invert([[1, 1], [1, 2]]); // Returns [[2, -1], [-1, 1]]
Calculates the inverse of a matrix.