def mux_2d_points(paired_coords, n):
    """
    Converts a tuple of equal length numpy arrays (representing, e.g. x and y coordinates
    for a set of points) into a single array containing the enumeration of such points
    encoded as x_coord + length * y_coord.
    """
    x_coords, y_coords = paired_coords
    return x_coords * n + y_coords
