- Python/Numpy What's it called / how do you represent that operation where you multiply each element of two vectors?
- x = array([1, 2, 3])
- y = array([4, 5, 6])
- from numpy import *
- x = array([1,2,3])
- y = array([2,2,2])
- inner(x,y) <-- Should give 1*2 + 2*2 + 3*2 = 12