Calculates the addition of two matrices.
The first matrix
The second matrix
const result = Chalkboard.matr.add([[1, 1], [1, 0]], [[0, 1], [1, 1]]); // Returns [[1, 2], [2, 1]] Copy
const result = Chalkboard.matr.add([[1, 1], [1, 0]], [[0, 1], [1, 1]]); // Returns [[1, 2], [2, 1]]
Calculates the addition of two matrices.