def pairwise_position_deltas(A, B):
    '\n    Compute attracting component deltas between pairs of points.\n    '
    N_A = len(A)
    N_B = len(B)
    if DEBUGGING:
        _check_ndim('A', A, 2)
        _check_ndim('B', B, 2)
        _check_shape('A', A, 2, axis=1)
        _check_shape('B', B, 2, axis=1)
    AA = empty((N_A, N_B, 2), DISTANCE_DTYPE)
    AA[:] = A[:, AX, :]
    return (B[(AX, ...)] - AA)
Compute attracting component deltas between pairs of points.
def pairwise_position_deltas(A, B):
    '\n    \n    '
    N_A = len(A)
    N_B = len(B)
    if DEBUGGING:
        _check_ndim('A', A, 2)
        _check_ndim('B', B, 2)
        _check_shape('A', A, 2, axis=1)
        _check_shape('B', B, 2, axis=1)
    AA = empty((N_A, N_B, 2), DISTANCE_DTYPE)
    AA[:] = A[:, AX, :]
    return (B[(AX, ...)] - AA)