Releases: jwood000/RcppAlgos
Old School
This release adds the ability to work with the Cartesian Product. There are four new functions:
- expandGrid: General function for producing the product from source vectors.
- expandGridCount: Simply provides the count of the product.
- expandGridSample: Efficiently produce a random sample or generate specific lexicographic results.
- expandGridIter: Flexible iterators that offer next methods as well as random access.
Switching Gears
This version now utilizes cpp11
instead of Rcpp
for exposing C++
to R
. The main reason was reducing compile time and binary size. We have added many functions as well since 2.5.x
such as ranking and composition functions.
Next Level
This version introduces iterators into the RcppAlgos
family and also addresses a couple of bugs present in v2.3.6.
Coming Up
-
This version adds many new features since
2.0.0
. Most functions are capable of safely producing results in parallel viaRcppThread
. -
We have added the functions:
comboGroups
,comboGroupsCount
, andcomboGroupsSample
. These functions deal with partitioning a vector/set into groups of equal size. -
This release also features improved general partitioning algorithms.
Amateur Hour
This release features updated internal algorithms for the combinatorial functions. Of note, is the addition of the lower/upper parameter that allows for generation of specific chunks of combinations/permutations. This feature sets-up nicely for parrallelization and fast generation beyond 2^31 - 1 results.
Additionally, convenient sampling functions were added.
Still a Rookie
This release features additions of divisorsRcpp and primeFactorize. We have also updated all of the sieving functions to generate results over a range. We have also added primeCount and heavily modified primeSieve based off of the work of Kim Walisch.