|
SOLUTIONS
|
COMBINATORICA PACKAGE SYMBOL
SetPartitions
SetPartitions[set]
returns the list of set partitions of set.
SetPartitions[n]
returns the list of set partitions of
.
DetailsDetails
- To use
, you first need to load the Combinatorica Package using Needs["Combinatorica`"]. - If all set partitions with a fixed number of subsets are needed, use KSetPartitions.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
