|
|
| more useful options | |
| PerlMonks |
Re^3: Efficient Unique Nested Combinationsby Moron (Curate) |
| on Jun 27, 2007 at 09:32 UTC ( #623566=note: print w/ replies, xml ) | Need Help?? |
|
Au contraire, M::C supports nCk and the described operation can be expressed as a two-deep explicit nested loop of nCk next-combination calls, the lower layer being nC1. Update: because selecting a single member from a set is the semi-degenerate nC1 case of an nCr.
__________________________________________________________________________________
^M Free your mind!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||