No articles match
Cartesian Products and Partitions of Groups18 days ago
expandGrid | Matrix vs Data.Frame Output | Always Return data.frame | Familiar RcppAlgos API Components | expandGridSample | Powerful Iterators with expandGridIter | Cartesian Product where Order does not Matter | In the Wild | Partitions of Groups with comboGroups | Partitions of Groups of Varying Sizes | Relevant Posts on Stackoverflow as well as OEIS.
Attacking Problems Related to the Subset Sum Problem18 days ago
Building on Integer Partitions | Working with Negative Numbers | Partitions with no Restrictions | Taming Floating Point Numbers | prod and mean | Using Iterators
Combination and Permutation Basics18 days ago
Introducing comboGeneral and permuteGeneral | Combinations/Permutations with Repetition | Working with Multisets | Enter freqs | Parallel Computing | Using arguments lower and upper | Generating Results Beyond .Machine$integer.max | GMP Support | User Defined Functions | Using FUN.VALUE | Passing additional arguments with ... | S3 methods
Combinatorial Iterators in RcppAlgos18 days ago
Iterating over Combinations and Permutations | Bidirectional Iterators | Retrieving More than One Result at a Time | Random Access Iterator | User Defined Functions | Transition from Rcpp Modules to S4 + External Pointers | Access Efficiency in 2.5.0+ | Version 2.4.3 Using Rcpp | Version 2.10.1 (No Rcpp) | Caching Results w/ 2.4.3 | Caching Results w/ 2.10.1 | Access Efficiency Conclusions | Iterating over Partitions and Compositions of a Number | Iterating over Constrained Combinations/Permutations | Iterating over Partitions of Groups
Combinatorial Sampling and Ranking18 days ago
Sampling | Base R | RcppAlgos Solutions | comboSample and permuteSample | Samples of Results with Repetition | Specific Results with sampleVec | Using namedSample | Parallel Computing and GMP Support | Efficiency | User Defined Functions | partitionsSample | compositionsSample | compositionSample with Specific target | compositionSample with Distinct Parts | Unranking Distinct Parts | Sampling Partitions of Groups with comboGroupsSample | Ranking | Rank Multiple Inputs | comboRank | permuteRank | partitionsRank | compositionsRank
Computational Mathematics Overview18 days ago
primeSieve | Larger primes | primeCount | Other Sieving Functions | Vectorized Functions
Constraints in RcppAlgos: Constraint-Driven Combinatorial Enumeration18 days ago
Related articles | Constraint Functions | Faster than rowSums and rowMeans | Comparison Operators and limitConstraints | One Comparison Operator | Two Comparison Operators | Using tolerance | Output Order with permuteGeneral | Integer Partitions & Compositions | Safely Interrupt Execution with cpp11::check_user_interrupt | Note about Interrupting Execution
High Performance Benchmarks18 days ago
Setup Information | Combinations | Combinations - Distinct | Combinations - Repetition | Combinations - Multisets | Permutations | Permutations - Distinct | Permutations - Repetition | Permutations - Multisets | Partitions | Partitions - Distinct | All Distinct Partitions | Restricted Distinct Partitions | Partitions - Repetition | All Partitions | Restricted Partitions | Partitions - Multisets | Compositions | Compositions - Repetition | All Compositions (Small case) | All Compositions (Larger case) | Compositions of Specific Length | Specialized Composition Benchmarks | Compositions with Specific target | Compositions with Distinct Parts | Compositions with Distinct Parts & Specific target | Iterators
Integer Compositions in RcppAlgos18 days ago
Integer Compositions | Standard Compositions | Case 1: All Compositions of N | Case 2: Compositions of N of Length m | Distinct Compositions | Case 3: Compositions of N into Distinct Parts | Verifying Distinct Compositions via Partitions (Brute Force Construction) | Case 4: Integer Compositions of N into Parts of Varying Multiplicity | Generating Compositions with permuteGeneral() | The Role of target | Efficiency Generating Partitions and Compositions
Integer Partitions in RcppAlgos18 days ago
Integer Partitions | Standard Partitions | Case 1: All Integer Partitions of N | Case 2: Integer Partitions of N of Length m | Distinct Partitions | Case 3: Integer Partitions of N into Distinct Parts | Using freqs to Refine Length | Euler’s Theorem in Action (Odd Parts and Distinct Parts) | Caveats Using freqs | Partitions of Multisets | Case 4: Integer Partitions of N into Parts of Varying Multiplicity | Using the table S3 Method | The Role of target | Efficiency Generating Partitions