Package: RcppBigIntAlgos 1.1.0

Joseph Wood

RcppBigIntAlgos: Factor Big Integers with the Parallel Quadratic Sieve

Features the multiple polynomial quadratic sieve (MPQS) algorithm for factoring large integers and a vectorized factoring function that returns the complete factorization of an integer. The MPQS is based off of the seminal work of Carl Pomerance (1984) <doi:10.1007/3-540-39757-4_17> along with the modification of multiple polynomials introduced by Peter Montgomery and J. Davis as outlined by Robert D. Silverman (1987) <doi:10.1090/S0025-5718-1987-0866119-8>. Utilizes the C library GMP (GNU Multiple Precision Arithmetic). For smaller integers, a simple Elliptic Curve algorithm is attempted followed by a constrained version of Pollard's rho algorithm. The Pollard's rho algorithm is the same algorithm used by the factorize function in the 'gmp' package.

Authors:Joseph Wood [aut, cre], Free Software Foundation, Inc. [cph], Mike Tryczak [ctb]

RcppBigIntAlgos_1.1.0.tar.gz
RcppBigIntAlgos_1.1.0.tar.gz(r-4.5-noble)RcppBigIntAlgos_1.1.0.tar.gz(r-4.4-noble)
RcppBigIntAlgos_1.1.0.tgz(r-4.4-emscripten)RcppBigIntAlgos_1.1.0.tgz(r-4.3-emscripten)
RcppBigIntAlgos.pdf |RcppBigIntAlgos.html
RcppBigIntAlgos/json (API)
NEWS

# Install 'RcppBigIntAlgos' in R:
install.packages('RcppBigIntAlgos', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jwood000/rcppbigintalgos/issues

Uses libs:
  • gmp– Multiprecision arithmetic library
  • c++– GNU Standard C++ Library v3

gmpcpp

1.70 score 8 scripts 228 downloads 4 exports 2 dependencies

Last updated 1 years agofrom:8ac7436441. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 25 2024
R-4.5-linux-x86_64OKDec 25 2024

Exports:divisorsBigprimeFactorizeBigquadraticSievestdThreadMax

Dependencies:cpp11gmp