Package: RcppZiggurat 0.1.8

Dirk Eddelbuettel

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. See the 'zigg' package for a lighter implementation for much easier use in other packages.

Authors:Dirk Eddelbuettel [aut, cre]

RcppZiggurat_0.1.8.tar.gz
RcppZiggurat_0.1.8.tar.gz(r-4.7-arm64)RcppZiggurat_0.1.8.tar.gz(r-4.7-x86_64)RcppZiggurat_0.1.8.tar.gz(r-4.6-arm64)RcppZiggurat_0.1.8.tar.gz(r-4.6-x86_64)
RcppZiggurat_0.1.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
RcppZiggurat/json (API)
NEWS

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

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

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

On CRAN:

Conda:

gslcpp

5.34 score 3 packages 74 scripts 6.5k downloads 29 exports 2 dependencies

Last updated from:d27fea9f91. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK130
linux-devel-x86_64OK118
source / vignettesOK163
linux-release-arm64OK118
linux-release-x86_64OK106
wasm-releaseOK122

Exports:zgetparszgetseedzgetseedV1ziggbinziggsumziggtestzrexpzrnormzrnormGlzrnormGSLzrnormLZLLVzrnormMTzrnormQLzrnormRzrnormStlzrnormStlV1zrnormV1zrnormV1bzrnormVeczrnormVecV1zrunizsetparszsetseedzsetseedGlzsetseedGSLzsetseedLZLLVzsetseedMTzsetseedQLzsetseedV1

Dependencies:RcppRcppGSL

RcppZiggurat-Intro

Rendered fromRcppZiggurat.Rnwusingutils::Sweaveon Jun 03 2026.

Last update: 2025-03-30
Started: 2013-12-21

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