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

ChessboardDistance

ChessboardDistance
gives the chessboard, Chebyshev, or sup norm distance between vectors u and v.
The chessboard distance between two vectors:
Chessboard distance between numeric vectors:
The chessboard distance between two vectors:
In[1]:=
Click for copyable input
Out[1]=
 
Chessboard 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 chessboard distance:
Demonstrate the triangle inequality:
Chessboard distance is the maximum of absolute differences:
ChessboardDistance is equivalent to a Norm of a difference:
ChessboardDistance is less than or equal to ManhattanDistance:
ChessboardDistance is less than or equal to EuclideanDistance:
New in 6