All functions

RcppAlgos-package

High Performance Tools for Combinatorics and Computational Mathematics

comboCount() permuteCount()

Number of combinations/permutations

comboGeneral() permuteGeneral()

Generate Combinations and Permutations of a Vector with/without Constraints

comboIter() permuteIter()

Combination and Permutation Iterator

comboSample() permuteSample()

Sample Combinations and Permutations

comboGrid()

Efficient Version of expand.grid Where order Does Not Matter

comboGroups()

Partition a Vector into Groups of Equal Size

comboGroupsCount()

Number of Partitions of a Vector into Groups of Equal Size

comboGroupsSample()

Sample Partitions of a Vector into Groups of Equal Size

divisorsRcpp()

Vectorized Factorization (Complete)

divisorsSieve()

Generate Complete Factorization for Numbers in a Range

eulerPhiSieve()

Apply Euler's Phi Function to Every Element in a Range

isPrimeRcpp()

Vectorized Primality Test

numDivisorSieve()

Apply Divisor Function to Every Element in a Range

primeCount()

Prime Counting Function \(\pi(x)\)

primeFactorize()

Vectorized Prime Factorization

primeFactorizeSieve()

Generate Prime Factorization for Numbers in a Range

primeSieve()

Generate Prime Numbers

stdThreadMax()

Max Number of Concurrent Threads