Combinatorica`
Combinatorica`
UnrankPermutation
UnrankPermutation[r,l]
gives the permutation in the lexicographic list of permutations of list .
UnrankPermutation[r,n]
gives the permutation in the lexicographic list of permutations of .
更多信息和选项
- To use UnrankPermutation, you first need to load the Combinatorica Package using Needs["Combinatorica`"].