Matrices and Linear Algebra
.T transposes a matrix (swaps rows and columns). @ (or np.matmul) multiplies matrices the mathematical way; * multiplies element by element. np.linalg has det, inv and solve.
Examplepython
Quick check
What is the difference between `A * B` and `A @ B`?
Your turn: write the code
Print the matrix product of A and B.
Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.
Tip: use the left and right arrow keys to move between lessons.