ToInversionVector

ToInversionVector[p]
gives the inversion vector associated with permutation .

DetailsDetails

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