Calculates the Manhattan distance between two points.
Edit me

Manhattan

Calculates the Manhattan distance between two points. The points have to be supplied as tuples.

Inputs:

  • Tuple of numerics of length two: point a
  • Tuple of numerics of length two: point b

Outputs:

  • Numeric: Manhattan distance between points a and b