Calculates the concatentation of two matrices.
The first matrix
The second matrix
Optional
The axis to concatenate over, which is 0 for the rows or 1 for the columns
const result = Chalkboard.matr.concat([[1, 2]], [[3, 4]], 0); // Returns [[1, 2], [3, 4]] Copy
const result = Chalkboard.matr.concat([[1, 2]], [[3, 4]], 0); // Returns [[1, 2], [3, 4]]
Calculates the concatentation of two matrices.