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