Math::Primality::AKS - Check for primality using the AKS (Agrawal-Kayal-Saxena) algorithm
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.
<bobjkuo at gmail.com> Jonathan "Duke" Leto
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.
You can find documentation for this module with the perldoc command.
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 <firstname.lastname@example.org>
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.