ChessboardDistance
ChessboardDistance(u, v)returns the chessboard distance (also known as Chebyshev distance) between
uandv, which is the number of moves a king on a chessboard needs to get from squareuto squarev.
See:
Examples
>> ChessboardDistance({-1, -1}, {1, 1})2Related terms
FindClusters, BinaryDistance, BrayCurtisDistance, CanberraDistance, CosineDistance, EuclideanDistance, ManhattanDistance, SquaredEuclideanDistance
Implementation status
- ✅ - full supported