Combinatorica`
Combinatorica`
ToInversionVector
gives the inversion vector associated with permutation .
Details and Options
- To use ToInversionVector, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
gives the inversion vector associated with permutation .