InversePermutation

InversePermutation[p]
yields the multiplicative inverse of permutation p.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »