import numpy as np

a = ([1, 2, 3, 4])
b = ([1,0,0,1])
'''
print(np.dot(a,b))
print(np.outer(a,b))
'''



# prodotto element-wise
x1 = ([[1,2,3],[4,5,6],[7,8,9]
	])
x2 = ([3,1,0])

print(x1)
print(x2)

print(np.multiply(x1, x2))
