Compute the L**p distance between two arrays.
x : (M, K) array_like
Input array.
y : (N, K) array_like
p : float, 1 <= p <= infinity
Which Minkowski p-norm to use.
Examples
>>> minkowski_distance([[0,0],[0,0]], [[1,1],[0,1]]) array([ 1.41421356, 1. ])
scipy.spatial.distance_matrix
scipy.spatial.minkowski_distance_p
Enter search terms or a module, class or function name.