inversions w
A permutation $p$ has an inversion $(i,j)$ if $i < j$ and $p(i) > p(j)$. inversions computes all of the inversions of a permutation.
|
|
The object inversions is a method function.
The source of this document is in Permutations/Documentation/mainDocs.m2:371:0.