ManhattanDistance

Manhattan distance (WMA)


ManhattanDistance[u, v]

returns the Manhattan distance between u and v, which is the number of horizontal or vertical moves in the gridlike Manhattan city layout to get from u to v.

EuclideanDistance
SquaredEuclideanDistance