By splitting a list, I mean a set of subsets of list items, so that the intersection of any single pair of subsets is empty, and the union of all subsets is equal to the original list.
For example, if my input list is {1,Ο,x} , then I need a function that returns
{ {{1},{Ο},{x}}, {{1,Ο},{x}}, {{1,x},{Ο}}, {{1},{x,Ο}}, {{1,Ο,x}} }
wolfram-mathematica
Michael
source share