[Wellington-pm] Combinatorics
Ewen McNeill
perl at ewen.mcneill.gen.nz
Tue Jul 4 14:08:11 PDT 2017
On 4/07/17 21:45, Peter Kelly wrote:
> So, let me start with a confession - I stopped at sixth form maths.
>
> The programme I am trying to write this evening seeks to combine one
> element of set A, with one element of set B, one element of set C, etc.
So you want the Cross Product?
http://search.cpan.org/~bdfoy/Set-CrossProduct-2.002/lib/Set/CrossProduct.pm
(This is one of those times when "remembering what the thing you want is
called" makes it _much_ easier to find :-) That module is the first
Google hit for "perl cross product".)
Ewen
More information about the Wellington-pm
mailing list