Mathematica > Core Language > String Manipulation > Sequence Alignment & Comparison > Distance and Similarity Measures > ChessboardDistance >
Mathematica > Data Manipulation > Numerical Data > Exploratory Data Analysis > Distance and Similarity Measures > ChessboardDistance >
Mathematica > Data Manipulation > Statistical Data Analysis > Exploratory Data Analysis > Distance and Similarity Measures > ChessboardDistance >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF