Package: RcppBigIntAlgos 1.1.0

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.zip(r-4.5)RcppBigIntAlgos_1.1.0.zip(r-4.4)RcppBigIntAlgos_1.1.0.zip(r-4.3)
RcppBigIntAlgos_1.1.0.tgz(r-4.5-x86_64)RcppBigIntAlgos_1.1.0.tgz(r-4.5-arm64)RcppBigIntAlgos_1.1.0.tgz(r-4.4-x86_64)RcppBigIntAlgos_1.1.0.tgz(r-4.4-arm64)RcppBigIntAlgos_1.1.0.tgz(r-4.3-x86_64)RcppBigIntAlgos_1.1.0.tgz(r-4.3-arm64)
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://jwood000.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

On CRAN:

algorithmgmpinteger-factorizationmpqsprime-factorizationsprimesquadratic-sievequadratic-sieve-algorithmcpp

3.81 score 13 stars 8 scripts 327 downloads 4 exports 2 dependencies

Last updated 8 months agofrom:8765554ec8. Checks:11 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 30 2025
R-4.5-win-x86_64OKJan 30 2025
R-4.5-mac-x86_64OKJan 30 2025
R-4.5-mac-aarch64OKJan 30 2025
R-4.5-linux-x86_64OKJan 30 2025
R-4.4-win-x86_64OKJan 30 2025
R-4.4-mac-x86_64OKJan 30 2025
R-4.4-mac-aarch64OKJan 30 2025
R-4.3-win-x86_64OKJan 30 2025
R-4.3-mac-x86_64OKJan 30 2025
R-4.3-mac-aarch64OKJan 30 2025

Exports:divisorsBigprimeFactorizeBigquadraticSievestdThreadMax

Dependencies:cpp11gmp