Combinatorica`
Combinatorica`
ToCycles
ToCycles[p]
gives the cycle structure of permutation as a list of cyclic permutations.
更多信息和选项
- To use ToCycles, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
ToCycles[p]
gives the cycle structure of permutation as a list of cyclic permutations.