Re: fixed list combinatorics
- From: fxn@xxxxxxxxxxx (Xavier Noria)
- Date: Wed, 28 Nov 2007 21:54:32 +0100
On Nov 28, 2007, at 8:58 PM, yitzle wrote:
In a personal email conversation, he realized what he was actually
looking for is the power set.
List::PowerSet
http://search.cpan.org/~nikc/List-PowerSet-0.01/lib/List/PowerSet.pm
If speed is an issue Algorith::Combinatorics provides subsets() in XS:
http://search.cpan.org/~fxn/Algorithm-Combinatorics-0.24/Combinatorics.pm
-- fxn
Disclaimer: That one is mine but that does not matter.
.
- Follow-Ups:
- Re: fixed list combinatorics
- From: Xavier Noria
- Re: fixed list combinatorics
- References:
- fixed list combinatorics
- From: Dan Klose
- Re: fixed list combinatorics
- From: Dr.Ruud
- Re: fixed list combinatorics
- From: Yitzle
- fixed list combinatorics
- Prev by Date: Re: Variable division, assignment and sprintf in one line
- Next by Date: Re: Comparing Regular Expression in Perl vs Python
- Previous by thread: Re: fixed list combinatorics
- Next by thread: Re: fixed list combinatorics
- Index(es):