Combinatorica`
Combinatorica`

RankSetPartition

RankSetPartition[sp,s]

ranks sp in the list of all set partitions of set s.

RankSetPartition[sp]

ranks sp in the list of all set partitions of the set of elements that appear in any subset in sp.

更多信息和选项