setPowerset

setPowerset(set)

Create the powerset of a (multi)set: the powerset contains very possible subsets of a (multi)set. A multi-dimension array will be converted to a single-dimension array before the operation.

Try it yourself:

All functions