-
Notifications
You must be signed in to change notification settings - Fork 5
/
DESCRIPTION
44 lines (44 loc) · 2.27 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Package: RcppAlgos
Version: 2.8.5
Title: High Performance Tools for Combinatorics and Computational Mathematics
Description: Provides optimized functions and flexible combinatorial iterators
implemented in C++ for solving problems in combinatorics and
computational mathematics. Utilizes the RMatrix class from 'RcppParallel'
for thread safety. There are combination/permutation functions with
constraint parameters that allow for generation of all results of a vector
meeting specific criteria (e.g. generating integer partitions/compositions
or 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'. 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 work of Kim Walisch.
URL: https://github.com/jwood000/RcppAlgos, https://gmplib.org/,
https://github.com/kimwalisch/primesieve, https://libdivide.com,
https://github.com/kimwalisch/primecount, https://ridiculousfish.com/,
https://sweet.ua.pt/tos/software/prime_sieve.html
BugReports: https://github.com/jwood000/RcppAlgos/issues
LinkingTo: cpp11
Imports: gmp, methods
Suggests: testthat, partitions, microbenchmark, knitr, RcppBigIntAlgos, rmarkdown
Config/Needs/website: pkgdown
License: GPL (>=2)
SystemRequirements: gmp (>= 4.2.3)
VignetteBuilder: knitr
NeedsCompilation: yes
Authors@R: c(
person(
given = "Joseph", family = "Wood",
role = c("aut", "cre"),
email = "jwood000@gmail.com"
)
)
Encoding: UTF-8
RoxygenNote: 7.2.3