CM::Group::Altern - The alternating group of degree n.
CM::Group::Altern is an implementation of the Alternating Group A_n which is a subgroup of the symmetric group S_n
CM::Group::Altern is derived from CM::Group::Sym
use CM::Group::Altern; my $G1 = CM::Group::Altern->new({$n=>4}); $G1->compute(); print $G1 12 11 10 9 8 7 6 5 4 3 2 1 11 10 12 8 6 4 9 7 5 1 3 2 10 12 11 6 9 5 8 4 7 2 1 3 9 5 1 3 7 2 11 6 10 12 8 4 8 7 2 1 4 3 10 9 12 11 6 5 7 2 8 4 10 12 1 3 9 5 11 6 6 4 3 2 5 1 12 8 11 10 9 7 5 1 9 7 11 10 3 2 6 4 12 8 4 3 6 5 12 11 2 1 8 7 10 9 3 6 4 12 2 8 5 11 1 9 7 10 2 8 7 10 1 9 4 12 3 6 5 11 1 9 5 11 3 6 7 10 2 8 4 12
CM::Group::Sym
http://en.wikipedia.org/wiki/Alternating_group
Stefan Petrea, <stefan.petrea at gmail.com>
<stefan.petrea at gmail.com>
To install CM::Permutation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CM::Permutation
CPAN shell
perl -MCPAN -e shell install CM::Permutation
For more information on module installation, please visit the detailed CPAN module installation guide.