diff options
author | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-06 00:40:10 +0000 |
---|---|---|
committer | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-06 00:40:10 +0000 |
commit | 2ca026de42965661902a304af1b9bdac457b2177 (patch) | |
tree | 729711f87576ce04f75267df5aa8be81feeaaf64 /math/p5-Set-Partition/pkg-descr | |
parent | 86a03ac7939020bf8cffb50dcd47aa4f5f02cc91 (diff) | |
download | ports-2ca026de42965661902a304af1b9bdac457b2177.tar.gz ports-2ca026de42965661902a304af1b9bdac457b2177.zip |
Adding port math/p5-Set-Partition, Enumerate all arrangements of a set in
fixed subsets.
Approved by: tobez (implicit)
Notes
Notes:
svn path=/head/; revision=164542
Diffstat (limited to 'math/p5-Set-Partition/pkg-descr')
-rw-r--r-- | math/p5-Set-Partition/pkg-descr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/math/p5-Set-Partition/pkg-descr b/math/p5-Set-Partition/pkg-descr new file mode 100644 index 000000000000..5fa8e1f69f74 --- /dev/null +++ b/math/p5-Set-Partition/pkg-descr @@ -0,0 +1,12 @@ +Set::Partition takes a list or hash of elements and a list numbers that +represent the sizes of the partitions into which the list of elements +should be arranged. + +The resulting object can then be used as an iterator which returns a +reference to an array of lists, that represents the original list arranged +according to the given partitioning. All possible arrangements are +returned, and the object returns undef when the entire combination space +has been exhausted. + +WWW: http://search.cpan.org/dist/Set-Partition +Author: David Landgren (http://www.landgren.net/perl/) |