Package: zigg 0.0.0
zigg: Lightweight Interfaces to the 'Ziggurat' Pseudo Random Number Generator
'Ziggurat', originally introduced by Marsaglia and Tsang (2000, <doi:10.18637/jss.v005.i08>) and further improved by Leong et al (2005, <doi:10.18637/jss.v012.i07>) offers a lightweight and very fast pseudo-random number generator (or 'PRNG') for the normal, exponential, and uniform distributions. It is provided here in a small zero-dependency package. It can be used from R as well as from C(++) code in other packages as is demonstrated by four included sample packages using four distinct methods to use the PRNG presented here in client package. The implementation is influenced by our older package 'RcppZiggurat' which offers a comparisone among multiple alternative implementations. These PRNGs provided are generally faster than the ones in base R: on our machine, the relative gains for normal, exponential and uniform are on the order of 7.4, 5.2 and 4.7 times faster than base R. However, these generators are of potentially lesser quality so if in doubt use of the base R function generatrs remains the general recommendation.
Authors:
zigg_0.0.0.tar.gz
zigg_0.0.0.zip(r-4.5)zigg_0.0.0.zip(r-4.4)zigg_0.0.0.zip(r-4.3)
zigg_0.0.0.tgz(r-4.4-x86_64)zigg_0.0.0.tgz(r-4.4-arm64)zigg_0.0.0.tgz(r-4.3-x86_64)zigg_0.0.0.tgz(r-4.3-arm64)
zigg_0.0.0.tar.gz(r-4.5-noble)zigg_0.0.0.tar.gz(r-4.4-noble)
zigg_0.0.0.tgz(r-4.4-emscripten)zigg_0.0.0.tgz(r-4.3-emscripten)
zigg.pdf |zigg.html✨
zigg/json (API)
# Install 'zigg' in R: |
install.packages('zigg', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/eddelbuettel/zigg/issues
Last updated 3 days agofrom:34cbe8ed46. Checks:9 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 12 2025 |
R-4.5-win-x86_64 | OK | Jan 12 2025 |
R-4.5-linux-x86_64 | OK | Jan 12 2025 |
R-4.4-win-x86_64 | OK | Jan 12 2025 |
R-4.4-mac-x86_64 | OK | Jan 12 2025 |
R-4.4-mac-aarch64 | OK | Jan 12 2025 |
R-4.3-win-x86_64 | OK | Jan 12 2025 |
R-4.3-mac-x86_64 | OK | Jan 12 2025 |
R-4.3-mac-aarch64 | OK | Jan 12 2025 |
Exports:zrexpzrnormzrunifzsetseed
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Lightweight Interfaces to the 'Ziggurat' Pseudo Random Number Generator | zigg-package zigg |
Ziggurat Pseudo Random Number Generators | zrexp zrnorm zrunif zsetseed |