Add, subtract, multiply matrices, and compute determinant and inverse.
Matrix addition and subtraction are element-wise; multiplication uses the dot product of rows and columns; determinant and inverse follow standard rules.
Adding [[1,2],[3,4]] and [[5,6],[7,8]] gives [[6,8],[10,12]].
Addition, subtraction, multiplication, determinant, and inverse for matrices of compatible dimensions.
The number of columns in the first must equal the number of rows in the second.
No. Only square matrices with a non-zero determinant are invertible.