This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ChebyshevDistance

As of Mathematica 7, is superseded by ChessboardDistance.

gives the Chebyshev or sup norm distance between vectors u and v.
The Chebyshev distance between two vectors:
Chebyshev distance between numeric vectors:
The Chebyshev distance between two vectors:
In[1]:=
Click for copyable input
Out[1]=
 
Chebyshev distance between numeric vectors:
In[1]:=
Click for copyable input
Out[1]=
Compute the distance between any vectors of equal length:
Compute the distance between vectors of any precision:
Cluster data using Chebyshev distance:
Demonstrate the triangle inequality:
Chebyshev distance is the maximum of absolute differences:
is equivalent to a Norm of a difference:
is less than or equal to ManhattanDistance:
is less than or equal to EuclideanDistance:
New in 6