Changes for version 0.42 - 2014-06-18
- ADDED
- gcdext(x,y) extended Euclidian algorithm
- chinese([a,n],[a,n],...) Chinese Remainder
- FUNCTIONALITY AND PERFORMANCE
- znlog is *much* faster. Added BSGS for XS and PP, Rho works better.
- Another inverse improvement from W. Izykowski, doing 8 bits at a time. A further 1% to 15% speedup in primality testing.
- A 35% reduction in overhead for forprimes with multicall.
- prime segment sieving over large ranges will use larger segment sizes when given large bases. This uses some more memory, but is much faster.
- An alternate method for calculating RiemannR used when appropriate.
- RiemannZeta caps at 10M even with MPFR. This has over 300k leading 0s.
- RiemannR will use the C code if not a BigFloat or without bignum loaded. The C code should only take a few microseconds for any value.
- Refactor some PP code: {next,prev}_prime, chebyshev_{theta,psi}. In addition, PP sieving uses less memory.
- Accelerate nth_twin_prime using the sparse twin_prime_count table.
Modules
Utilities related to prime numbers, including fast sieves and factoring
Elliptic curve operations for affine points
Elliptic curve operations for projective points
An auto-free object for Math::Prime::Util
Pure Perl version of Math::Prime::Util
PP front end for Math::Prime::Util
Primality proofs and certificates
A tied array for primes
An object iterator for primes
Generate random primes
Perl Big Float versions of Riemann Zeta and R functions
Provides
in lib/Math/Prime/Util/PPFE.pm
Examples
- examples/README
- examples/abundant.pl
- examples/csrand.pl
- examples/fibprime-mce.pl
- examples/fibprime-serial.pl
- examples/fibprime-threads.pl
- examples/find_mr_bases.pl
- examples/inverse_totient.pl
- examples/numseqs.pl
- examples/porter.pl
- examples/project_euler_010.pl
- examples/project_euler_021.pl
- examples/project_euler_037.pl
- examples/project_euler_047.pl
- examples/project_euler_049.pl
- examples/project_euler_069.pl
- examples/project_euler_070.pl
- examples/project_euler_072.pl
- examples/project_euler_095.pl
- examples/project_euler_131.pl
- examples/project_euler_142.pl
- examples/project_euler_193.pl
- examples/project_euler_211.pl
- examples/project_euler_214.pl
- examples/project_euler_342.pl
- examples/project_euler_357.pl
- examples/sophie_germain.pl
- examples/twin_primes.pl
- examples/verify-cert.pl
- examples/verify-gmp-ecpp-cert.pl
- examples/verify-sage-ecpp-cert.pl