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.
更多信息和选项
- To use SetPartitionQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].