求python numpy 向量的欧式距离,已知v1,v2是两个numpy向量,计算如下import numpy as npdist=np.sqrt( np.sum( np.square (v1-v2) ) )或者直接dist=numpy.linalg.norm (v1-v2)