aa = np.array([1, 0, 0]) bb = np.array([0, 1, 1]) print(inner_prod(aa, bb))