Combinatorica`
Combinatorica`
SignaturePermutation
SignaturePermutation[p]
gives the signature of permutation p.
Details and Options
- To use SignaturePermutation, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
SignaturePermutation[p]
gives the signature of permutation p.