About Anaconda Help Download Anaconda

Provides optimized functions and flexible combinatorial iterators 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 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.

copied from cf-staging / r-rcppalgos
Type Size Name Uploaded Downloads Labels
conda 952.0 kB | osx-64/r-rcppalgos-2.5.0-r40hfbe6f5e_0.tar.bz2  2 years and 11 months ago 81 main
conda 958.0 kB | osx-64/r-rcppalgos-2.5.0-r41hfbe6f5e_0.tar.bz2  2 years and 11 months ago 75 main
conda 911.5 kB | linux-64/r-rcppalgos-2.5.0-r41hc82189e_0.tar.bz2  2 years and 11 months ago 2094 main
conda 940.3 kB | linux-64/r-rcppalgos-2.5.0-r40hc82189e_0.tar.bz2  2 years and 11 months ago 2096 main

© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.7) Legal | Privacy Policy