Combinatorica`
Combinatorica`

SetPartitionQ

SetPartitionQ[sp,s]

determines if sp is a set partition of set s.

SetPartitionQ[sp]

tests if sp is a set of disjoint sets.

Details and Options