### Navigation

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

# scipy.spatial.distance.wminkowski

`scipy.spatial.distance.``wminkowski`(u, v, p, w)

  Computes the weighted Minkowski distance between two 1-D arrays.

  The weighted Minkowski distance between u and v, defined as

  Parameters : | u : (N,) array_like Input array. v : (N,) array_like Input array. p : int The order of the norm of the difference . w : (N,) array_like The weight vector.
  Returns : | wminkowski : double The weighted Minkowski distance between vectors u and v.

### Navigation

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