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.7)RcppBigIntAlgos_1.1.0.zip(r-4.6)RcppBigIntAlgos_1.1.0.zip(r-4.5)
RcppBigIntAlgos_1.1.0.tgz(r-4.6-x86_64)RcppBigIntAlgos_1.1.0.tgz(r-4.6-arm64)RcppBigIntAlgos_1.1.0.tgz(r-4.5-x86_64)RcppBigIntAlgos_1.1.0.tgz(r-4.5-arm64)
RcppBigIntAlgos_1.1.0.tar.gz(r-4.7-arm64)RcppBigIntAlgos_1.1.0.tar.gz(r-4.7-x86_64)RcppBigIntAlgos_1.1.0.tar.gz(r-4.6-arm64)RcppBigIntAlgos_1.1.0.tar.gz(r-4.6-x86_64)
RcppBigIntAlgos_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
RcppBigIntAlgos/json (API)
NEWS

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

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

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

On CRAN:

Conda:

algorithmgmpinteger-factorizationmpqsprime-factorizationsprimesquadratic-sievequadratic-sieve-algorithmcpp

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

Last updated from:8765554ec8. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK188
linux-devel-x86_64OK158
source / vignettesOK167
linux-release-arm64OK154
linux-release-x86_64OK157
macos-release-arm64OK159
macos-release-x86_64OK330
macos-oldrel-arm64OK203
macos-oldrel-x86_64OK339
windows-develOK125
windows-releaseOK139
windows-oldrelOK142
wasm-releaseOK119

Exports:divisorsBigprimeFactorizeBigquadraticSievestdThreadMax

Dependencies:cpp11gmp