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.)
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";
2,392

edits