30 Sep 2012 04:56:18 UTC
- Distribution: Math-Factoring
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (400 / 0 / 0)
- KwaliteeBus factor: 0
- 83.33% Coverage
- License: perl_5
- Activity24 month
- Download (16.74KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionLETO Jonathan Leto
- COPYRIGHT & LICENSE
- COPYRIGHT AND LICENSE
Math::Factoring - Math::Factoring - Advanced Factoring Algorithms
use Math::Factoring; my $n = 42; my @factors = factor(42); # 2 3 7
Jonathan "Duke" Leto,
<jonathan at leto.net>
Please report any bugs or feature requests to
bug-math-factoring at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Math::Factoring. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can also submit patches or file a Github issue: https://github.com/leto/Math-Factoring
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
Copyright 2009-2012 Jonathan "Duke" Leto, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Returns the prime factors of $number as an array. Currently this falls back to trial division. The values in the array are plain Perl string variables, not Math::GMPz objects.
Return the factors of $number as an array using the Pollard-Rho algorithm.
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.
Module Install Instructions
To install Math::Factoring, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Math::Factoring
For more information on module installation, please visit the detailed CPAN module installation guide.