Releases: daqana/dqrng
Releases · daqana/dqrng
v0.4.1
v0.4.0
What's Changed
- Decouple sitmo by @rstub in #55
- feat: improve gitignore file by @hsloot in #61
- fix: testhat finds dqrng header by @hsloot in #62
- feat: global RNG access by @hsloot in #58
- Other xoshiro generators by @rstub in #57
- Allow registering as user-supplied RNG by @rstub in #67
- Restructure jump() to remove code duplication. by @rstub in #68
- Change internal storage type to Rcpp::XPtr<random_64bit_generator> by @rstub in #70
- WARN on CRAN by @rstub in #74
- Add missing inline attributes to avoid linker issues. by @plietar in #75
- I/O for RNG state by @rstub in #78
- Add clone(stream) method for the RNGs by @rstub in #79
- Deprecate scalar functions by @rstub in #81
- Feature/parallel generate by @rstub in #82
- Add 'inline' to get_seed_from_r() by @rstub in #84
- Remove extra boost by @rstub in #86
- Restore pcg ctor by @rstub in #87
New Contributors
Full Changelog: v0.3.2...v0.4.0
v0.3.2
v0.3.1
- new method
dqrrademacher
for drawing Rademacher weights (Kyle Butts in #50 fixing #49) - Move sampling methods to separate header file, allowing for parallel usage.
- New method
dqrmvnorm
sampling from a multivariate normal distribution.
This uses the methods implemented in themvtnorm
package and usesdqrnorm
.
dqrng 0.2.0
- Add R side support for selecting multiple streams for parallel usage.
- Implement
long_jump()
for Xo(ro)shiro as alternative tojump()
providing fewer streams with longer period. - Handle R's RNG scope properly during initialisation.
- New functions
dqsample
anddqsample.int
using an unbiased sampling
algorithm. - Use
R_unif_index()
instead ofunif_rand()
to retrieve random data
from R's RNG ingenerateSeedVectors()
. - Scalar RNGs in the C++ API: dqrng::runif, dqrng::rnorm and dqrng::rexp
dqrng 0.1.1
- Use template specializations to avoid compiler warnings during tests (Aaron Lun in #16)
- Do not expect a particular error message on MacOS and skip exception throwing tests on Solaris.
dqrng 0.1.0
Breaking changes
- An integer vector instead of a single
int
is used for seeding (Aaron Lun in #10)- Single integer seeds lead to a different RNG state than before.
dqrng::dqset_seed()
expects aRcpp::IntegerVector
instead of anint
- Support for Mersenne-Twister has been removed, Xoroshiro128+ is now the default.
Other changes
- New method
generateSeedVectors()
for generating a list of randomint
vectors from R's RNG. These vectors can be used as seed (Aaron Lun in #10). - The initial state of the default RNG is now based on R's RNG.