ManhattanDistance[u, v]gives the Manhattan or "city block" distance between vectors u and v.
Manhattan distance between two vectors:
Manhattan distance between numeric vectors:
EuclideanDistance SquaredEuclideanDistance HammingDistance ChessboardDistance BrayCurtisDistance CanberraDistance CornerNeighbors
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »