Combinatorica`
Combinatorica`

RankKSetPartition

RankKSetPartition[sp,s]

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

RankSetPartition[sp]

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

Details and Options