.

        The arrays i and j must be one-dimensional containing non-negative
        integers.
        r 