def pairwise_distances(A, B):
    '\n    Compute distances between pairs of points.\n    '
    DD = pairwise_position_deltas(A, B)
    return hypot(DD[(..., 0)], DD[(..., 1)])
Compute distances between pairs of points.
def pairwise_distances(A, B):
    '\n    \n    '
    DD = pairwise_position_deltas(A, B)
    return hypot(DD[(..., 0)], DD[(..., 1)])