Combinatorica`
Combinatorica`
NextPermutation
gives the permutation following p in lexicographic order.
更多信息和选项
- To use NextPermutation, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
gives the permutation following p in lexicographic order.