Math::Primality::AKS - Check for primality using the AKS (Agrawal-Kayal-Saxena) algorithm
version 0.06
use Math::Primality::AKS; my $n = 123; print 'Prime!' if is_aks_prime($n);
Math::Primality::AKS - Check for primes with AKS
Returns 1 if $n is an AKS prime, 0 if it is not.
Bob Kuo, <bobjkuo at gmail.com> Jonathan "Duke" Leto <jonathan@leto.net>
<bobjkuo at gmail.com>
<jonathan@leto.net>
Please report any bugs or feature requests to bug-math-primality-aks at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Math::Primality::AKS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-math-primality-aks at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Math::Primality::AKS
You can also look for information at:
Copyright 2009-2010 Bob Kuo, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jonathan "Duke" Leto <jonathan@leto.net>
This software is copyright (c) 2012 by Leto Labs LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Math::Primality, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Primality
CPAN shell
perl -MCPAN -e shell install Math::Primality
For more information on module installation, please visit the detailed CPAN module installation guide.