3 ms·
Most numerical operations work on array elements, so things like A+B work as expected with matrices. Not A*B, because that is element-wise multiplication and th
by kergonath 4y ago
Most numerical operations work on array elements, so things like A+B work as expected with matrices. Not A*B, because that is element-wise multiplication and the matrix product is matmul().
The Euclidean norm norm2() should also work as expected as well.