Calculates the Hadamard multiplication of two matrices.
The first matrix
The second matrix
const result = Chalkboard.matr.mulHadamard([[1, 2], [3, 4]], [[0, 1], [1, 0]]); // Returns [[0, 2], [3, 0]] Copy
const result = Chalkboard.matr.mulHadamard([[1, 2], [3, 4]], [[0, 1], [1, 0]]); // Returns [[0, 2], [3, 0]]
Calculates the Hadamard multiplication of two matrices.