### 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.chebyshev

`scipy.spatial.distance.``chebyshev`(u, v)

  Computes the Chebyshev distance.

  Computes the Chebyshev distance between two 1-D arrays u and v, which is defined as

  Parameters : | u : (N,) array_like Input vector. v : (N,) array_like Input vector.
  Returns : | chebyshev : double The Chebyshev 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`) »