Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

ChebyshevDistance

As of Mathematica 7, ChebyshevDistance is superseded by ChessboardDistance.
ChebyshevDistance[u, v]
gives the Chebyshev or sup norm distance between vectors u and v.
  • ChebyshevDistance[u, v] is equivalent to Max[Abs[u-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:
ChebyshevDistance is equivalent to a Norm of a difference:
ChebyshevDistance is less than or equal to ManhattanDistance:
ChebyshevDistance is less than or equal to EuclideanDistance:
O B S O L E T E
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team