Power set: Difference between revisions
m
→Module: ntheory: add libheader
m (→{{header|REXX}}: used a template for the output section, added/changed whitespace and comments, aligned some statements.) |
SqrtNegInf (talk | contribs) m (→Module: ntheory: add libheader) |
||
Line 2,430:
=== Module: [https://metacpan.org/pod/ntheory ntheory] ===
{{libheader|ntheory}}
The simplest solution is to use the one argument version of the combination iterator, which iterates over the power set.
<lang perl>use ntheory "forcomb";
|