ManhattanDistance
ManhattanDistance(u, v)returns the Manhattan distance between
uandv, which is the number of horizontal or vertical moves in the grid like Manhattan city layout to get fromutov.
See:
Examples
>> ManhattanDistance({-1, -1}, {1, 1})4Related terms
FindClusters, BinaryDistance, BrayCurtisDistance, ChessboardDistance, CanberraDistance, CosineDistance, EuclideanDistance, SquaredEuclideanDistance
Implementation status
- ✅ - full supported