RankSetPartition


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.

DetailsDetails