Package: RcppZiggurat 0.1.8

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.zip(r-4.7)RcppZiggurat_0.1.8.zip(r-4.6)RcppZiggurat_0.1.8.zip(r-4.5)
RcppZiggurat_0.1.8.tgz(r-4.6-x86_64)RcppZiggurat_0.1.8.tgz(r-4.6-arm64)RcppZiggurat_0.1.8.tgz(r-4.5-x86_64)RcppZiggurat_0.1.8.tgz(r-4.5-arm64)
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://eddelbuettel.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:

random-number-generatorsrcppzigguratgslcpp

8.06 score 14 stars 3 packages 121 scripts 5.1k downloads 29 exports 2 dependencies

Last updated from:1705b488df. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK151
linux-devel-x86_64OK160
source / vignettesOK201
linux-release-arm64OK149
linux-release-x86_64OK137
macos-release-arm64OK110
macos-release-x86_64OK248
macos-oldrel-arm64OK125
macos-oldrel-x86_64OK136
windows-develOK82
windows-releaseOK94
windows-oldrelOK140
wasm-releaseOK110

Exports:zgetparszgetseedzgetseedV1ziggbinziggsumziggtestzrexpzrnormzrnormGlzrnormGSLzrnormLZLLVzrnormMTzrnormQLzrnormRzrnormStlzrnormStlV1zrnormV1zrnormV1bzrnormVeczrnormVecV1zrunizsetparszsetseedzsetseedGlzsetseedGSLzsetseedLZLLVzsetseedMTzsetseedQLzsetseedV1

Dependencies:RcppRcppGSL

RcppZiggurat-Intro

Rendered fromRcppZiggurat.Rnwusingutils::Sweaveon Jun 23 2026.

Last update: 2025-03-23
Started: 2013-11-17

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