Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

def matplotlib::mlab::dist (   x,
  y 
)

Return the distance between two points.

Definition at line 967 of file mlab.py.

00967              :
    """
    Return the distance between two points.
    """
    d = x-y
    return np.sqrt(np.dot(d,d))

def dist_point_to_segment(p, s0, s1):


Generated by  Doxygen 1.6.0   Back to index