scipy.spatial.distance.chebyshev¶

scipy.spatial.distance.
chebyshev
(u, v)[source]¶ Computes the Chebyshev distance.
Computes the Chebyshev distance between two 1D arrays u and v, which is defined as
\[\max_i {u_iv_i}.\]Parameters: u : (N,) array_like
Input vector.
v : (N,) array_like
Input vector.
Returns: chebyshev : double
The Chebyshev distance between vectors u and v.