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