And it should be made clear which of the two permutations it is (`output[i] = input[permutation[i]]` or `output[permutation[i]] = input[i]`).