Combinatorica`
Combinatorica`

ToInversionVector

ToInversionVector[p]

gives the inversion vector associated with permutation p.

Details

See Also

FromInversionVector  Inversions

Tutorials