Package: RcppZiggurat 0.1.6.2

RcppZiggurat: 'Rcpp' Integration of Different "Ziggurat" Normal RNG Implementations

The Ziggurat generator for normally distributed random numbers, originally proposed by Marsaglia and Tsang (2000, <doi:10.18637/jss.v005.i08>) has been improved upon a few times starting with Leong et al (2005, <doi:10.18637/jss.v012.i07>). This package provides an aggregation in order to compare different implementations in order to provide a 'faster but good enough' alternative for use with R and C++ code.

Authors:Dirk Eddelbuettel [aut, cre]

RcppZiggurat_0.1.6.2.tar.gz
RcppZiggurat_0.1.6.2.zip(r-4.5)RcppZiggurat_0.1.6.2.zip(r-4.4)RcppZiggurat_0.1.6.2.zip(r-4.3)
RcppZiggurat_0.1.6.2.tgz(r-4.4-x86_64)RcppZiggurat_0.1.6.2.tgz(r-4.4-arm64)RcppZiggurat_0.1.6.2.tgz(r-4.3-x86_64)RcppZiggurat_0.1.6.2.tgz(r-4.3-arm64)
RcppZiggurat_0.1.6.2.tar.gz(r-4.5-noble)RcppZiggurat_0.1.6.2.tar.gz(r-4.4-noble)
RcppZiggurat_0.1.6.1.tgz(r-4.4-emscripten)RcppZiggurat_0.1.6.2.tgz(r-4.3-emscripten)
RcppZiggurat.pdf |RcppZiggurat.html
RcppZiggurat/json (API)
NEWS

# Install 'RcppZiggurat' in R:
install.packages('RcppZiggurat', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/eddelbuettel/rcppziggurat/issues

Uses libs:
  • gsl– GNU Scientific Library (GSL)
  • c++– GNU Standard C++ Library v3

On CRAN:

random-number-generatorsrcppzigguratgslcpp

10.23 score 12 stars 163 packages 73 scripts 9.9k downloads 29 exports 2 dependencies

Last updated 28 days agofrom:61aa906618. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 04 2025
R-4.5-win-x86_64OKJan 04 2025
R-4.5-linux-x86_64OKJan 04 2025
R-4.4-win-x86_64OKJan 04 2025
R-4.4-mac-x86_64OKJan 04 2025
R-4.4-mac-aarch64OKJan 04 2025
R-4.3-win-x86_64OKJan 04 2025
R-4.3-mac-x86_64OKJan 04 2025
R-4.3-mac-aarch64OKJan 04 2025

Exports:zgetparszgetseedzgetseedV1ziggbinziggsumziggtestzrexpzrnormzrnormGlzrnormGSLzrnormLZLLVzrnormMTzrnormQLzrnormRzrnormStlzrnormStlV1zrnormV1zrnormV1bzrnormVeczrnormVecV1zrunizsetparszsetseedzsetseedGlzsetseedGSLzsetseedLZLLVzsetseedMTzsetseedQLzsetseedV1

Dependencies:RcppRcppGSL

Ziggurat Revisited

Rendered fromRcppZiggurat.Rmdusingknitr::rmarkdownon Jan 04 2025.

Last update: 2020-10-18
Started: 2017-09-27

Readme and manuals

Help Manual

Help pageTopics
Collection and comparison of different Ziggurat RNGsRcppZiggurat-package RcppZiggurat
Collection of Ziggurat Normal RNGszgetpars zgetseed zgetseedV1 ziggbin ziggsum ziggtest zrexp zrnorm zrnormGl zrnormGSL zrnormLZLLV zrnormMT zrnormQL zrnormR zrnormStl zrnormStlV1 zrnormV1 zrnormV1b zrnormVec zrnormVecV1 zruni zsetpars zsetseed zsetseedGl zsetseedGSL zsetseedLZLLV zsetseedMT zsetseedQL zsetseedV1 zsetseedV1b