Message Boards Message Boards

0
|
9816 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Calculating Powersets

Posted 9 years ago
POSTED BY: dolbik

Try explicitly using the named Wolfram language functions Union and Complement with square brackets.

In Mathematica the following works (dropping the empty set):

Complement[Subsets[{1, 2, 3, a, b, c, d, e}], {#} & /@ {1, 2, 3, a, b, c, d, e}]
POSTED BY: David Gathercole
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract