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