inner product



import numpy as np

v1=np.array([[np.sqrt(3)],[1]])
v2 = np.array([[1],[2]])
inner_result=np.vdot(v1,v2)
print(inner_result)

print(v1.shape)
print(v2.shape)

雅思寫作11/10

  example resulted from chatgpt The line graph illustrates the monthly sales of four bakery products—baked bread, croissants, cupcakes, and ...