docs: @Deprecated
    public static int[] permutation(final int numElements, final Random rng) {
      final int[] permutation = arange(numElements);
      shuffle(permutation, checkNotNull(rng));
      return permutation;
    }