📜  np欧几里得距离python代码示例

📅  最后修改于: 2022-03-11 14:45:06.780000             🧑  作者: Mango

代码示例1
import numpy as np
a = np.array((1,1,1))
b = np.array((2,2,2))
dist = np.linalg.norm(a-b)