(p1, p2)
return np.linalg.norm(p2-p1)
distance between two points p1, p2
distance between two points p1, p2
distance between two points p1 p2
def ptdist(p1, p2):
    """distance between two points p1, p2"""
    return np.linalg.norm(p2-p1)
def ptdist ( p1 , p2 ) : return np . linalg . norm ( p2 - p1 )