Algorithm-Combinatorics
view release on metacpan or search on metacpan
Combinatorics.pm view on Meta::CPAN
# list context slurps
my @all_permutations = permutations(\@data);
=head1 VERSION
This documentation refers to Algorithm::Combinatorics version 0.26.
=head1 DESCRIPTION
Algorithm::Combinatorics is an efficient generator of combinatorial sequences. Algorithms are selected from the literature (work in progress, see L</REFERENCES>). Iterators do not use recursion, nor stacks, and are written in C.
Tuples are generated in lexicographic order, except in C<subsets()>.
=head1 SUBROUTINES
Algorithm::Combinatorics provides these subroutines:
permutations(\@data)
circular_permutations(\@data)
derangements(\@data)
}
# list context slurps
my @all_permutations = permutations(\@data);
VERSION
This documentation refers to Algorithm::Combinatorics version 0.26.
DESCRIPTION
Algorithm::Combinatorics is an efficient generator of combinatorial
sequences. Algorithms are selected from the literature (work in
progress, see REFERENCES). Iterators do not use recursion, nor stacks,
and are written in C.
Tuples are generated in lexicographic order, except in `subsets()'.
SUBROUTINES
Algorithm::Combinatorics provides these subroutines:
permutations(\@data)
circular_permutations(\@data)
( run in 1.419 second using v1.01-cache-2.11-cpan-49f99fa48dc )