|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Permutation of groupsby blokhead (Monsignor) |
| on Nov 20, 2006 at 10:05 UTC ( [id://585069]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Actually this looks more like set partitions than combinations to me. You are splitting up a set into smaller subsets, and order and size of subsets doesn't matter. There is some sample code for a set partition iterator in one of my nodes Re: Generator of integer partitionts of n for starters, and plenty of other places too, probably, if you super search with that term.
blokhead
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||