My question is very intuitive in arrays but not in matrices. How can I multiple one element from row of one matrix in all equivalent row in other matrix. Let's assume I have:
x = np.matrix([[1], [2]])
y = np.matrix([[3, 4], [5, 6]])
and I want to get as a result:
[[3, 4], [10, 12]
or in a more readable way:
x = 1
2
y = 3 4
5 6
and I want to get as a result:
3 4
10 12