Print A @ x. Each row of A is dotted with x. The result has one number per row.
Data analysis labNumPy problems
Problem 44 of 50 · Linear algebra · Medium
A matrix times a vector
Apply a 2 by 3 matrix to a length-3 vector.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2