RcppAlgos: High Performance Tools for Combinatorics and Computational Mathematics

Provides optimized functions implemented in C++ with 'Rcpp' for solving problems in combinatorics and computational mathematics. Utilizes parallel programming via 'RcppThread' for maximal performance. Also makes use of the RMatrix class from the 'RcppParallel' library. There are combination/permutation functions. Constraint parameters allow for generation of all combinations/permutations of a vector meeting specific criteria (e.g. finding all combinations such that the sum is between two bounds). Capable of generating specific combinations/permutations (e.g. retrieve only the nth lexicographical result) which sets up nicely for parallelization as well as random sampling. Gmp support permits exploration where the total number of results is large (e.g. comboSample(10000, 500, n = 4)). Additionally, there are several high performance number theoretic functions that are useful for problems common in computational mathematics. Some of these functions make use of the fast integer division library 'libdivide' by <http://ridiculousfish.com>. The primeSieve function is based on the segmented sieve of Eratosthenes implementation by Kim Walisch. It is also efficient for large numbers by using the cache friendly improvements originally developed by Tomás Oliveira. Finally, there is a prime counting function that implements Legendre's formula based on the algorithm by Kim Walisch.

Version: 2.3.0
Imports: gmp, Rcpp (≥ 0.12.8)
LinkingTo: Rcpp, RcppThread
Suggests: testthat, numbers (≥ 0.6-6), bigIntegerAlgos, microbenchmark
Published: 2019-03-17
Author: Joseph Wood
Maintainer: Joseph Wood <jwood000 at gmail.com>
BugReports: https://github.com/jwood000/RcppAlgos/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/jwood000/RcppAlgos, https://gmplib.org/, http://primesieve.org/, https://github.com/kimwalisch/primesieve, https://github.com/kimwalisch/primecount, http://libdivide.com/, http://sweet.ua.pt/tos/software/prime_sieve.html
NeedsCompilation: yes
SystemRequirements: C++14, gmp (>= 4.2.3)
Materials: README NEWS
In views: NumericalMathematics
CRAN checks: RcppAlgos results

Downloads:

Reference manual: RcppAlgos.pdf
Package source: RcppAlgos_2.3.0.tar.gz
Windows binaries: r-devel: RcppAlgos_2.3.0.zip, r-release: RcppAlgos_2.3.0.zip, r-oldrel: RcppAlgos_2.3.0.zip
OS X binaries: r-release: RcppAlgos_2.3.0.tgz, r-oldrel: RcppAlgos_2.3.0.tgz
Old sources: RcppAlgos archive

Reverse dependencies:

Reverse imports: STraTUS
Reverse suggests: bigIntegerAlgos

Linking:

Please use the canonical form https://CRAN.R-project.org/package=RcppAlgos to link to this page.