I have a problem with my code: I want to multiply two "vectors" in the way seen below
# what i want
import numpy as np
a = np.array([1,2,3])
b = np.array([2,3,4,5])
z = f(a,b)
z -> array([
[2,3,4,5],
[4,6,8,10],
[6,9,12,15]
])
How should f be defined?