| Author |
Comment/Response |
Svetlana
|
02/22/05 07:43am
In Matematika presented a built-in function
Partition[list,n]
which returns non-overlapping sublists of equal length given by n, but how to perform a function, which will give back all possible partitions of the given list, like
{a,b,c}->{{{a},{b},{c}},{{a},{b,c}},{{a,b},{c}},{{a,c},{b}},{a,b,c}}
and so on
URL: , |
|