Combinatorica`
Combinatorica`

RankBinarySubset

RankBinarySubset[l,s]

gives the rank of subset s of set l in the ordering of subsets of l, obtained by interpreting these subsets as binary string representations of integers.

更多信息和选项