PermutationWithCycle [n,{i,j,…}]
gives a size n permutation in which {i,j,...} is a cycle and all other elements are fixed points.
Details and Options
Details and Options
Details and Options
See Also
Tech Notes
Related Guides
Combinatorica`
Combinatorica`
PermutationWithCycle
PermutationWithCycle [n,{i,j,…}]
gives a size n permutation in which {i,j,...} is a cycle and all other elements are fixed points.
Details and Options
- To use PermutationWithCycle , you first need to load the Combinatorica Package using Needs ["Combinatorica`"].