Setpartition freeware
Setpartition
Added: May 15, 2010 | Visits: 1.187
Set::Partition is a Perl module that can enumerate all arrangements of a set in fixed subsets. SYNOPSIS use Set::Partition; my $s = Set::Partition->new( list => [qw(a b c d e)], partition => [2, 3], ); while (my $p = $s->next) { print join( , map { "(@$_)" } @$p ), $/; } # produces...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (133): Set::Partition Download |