3 ms·
Are there any matrix operations in the built-ins?
Are there any matrix operations in the built-ins?
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.
matmul