### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Spatial algorithms and data structures (`scipy.spatial`) »
- Distance computations (`scipy.spatial.distance`) »

# scipy.spatial.distance.minkowski

`scipy.spatial.distance.``minkowski`(u, v, p)

  Computes the Minkowski distance between two vectors `u` and `v`, defined as

  Parameters : | u : ndarray An n-dimensional vector. v : ndarray An n-dimensional vector. p : ndarray The norm of the difference .
  Returns : | d : double The Minkowski distance between vectors `u` and `v`.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Spatial algorithms and data structures (`scipy.spatial`) »
- Distance computations (`scipy.spatial.distance`) »