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.
Details and Options
- To use RankSetPartition, you first need to load the Combinatorica Package using Needs["Combinatorica`"].