Combinatorica`
Combinatorica`
RankSubset
RankSubset[l,s]
gives the rank, in canonical order, of subset s of set l.
更多信息和选项
- To use RankSubset, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
RankSubset[l,s]
gives the rank, in canonical order, of subset s of set l.