Converts a matrix to an object.
The matrix
const result = Chalkboard.matr.toObject([[1, 2], [3, 4]]); // Returns an indexed object Copy
const result = Chalkboard.matr.toObject([[1, 2], [3, 4]]); // Returns an indexed object
Converts a matrix to an object.