About Anaconda Help Download Anaconda

The 'Ziggurat' pseudo-random number generator (or PRNG), 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 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/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 package 'RcppZiggurat' which offers a comparison among multiple alternative implementations but presented here in a lighter-weight implementation that is easier to use by other packages. The 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 and shorter period so if in doubt use of the base R functions remains the general recommendation.

copied from cf-post-staging / r-zigg
Type Size Name Uploaded Downloads Labels
conda 45.4 kB | win-64/r-zigg-0.0.2-r45hd8a2815_2.conda  1 day and 2 hours ago 20 main
conda 45.5 kB | win-64/r-zigg-0.0.2-r44hd8a2815_2.conda  1 day and 2 hours ago 19 main
conda 39.7 kB | osx-64/r-zigg-0.0.2-r44ha730edb_2.conda  1 day and 2 hours ago 15 main
conda 40.7 kB | osx-arm64/r-zigg-0.0.2-r45hc1cd577_2.conda  1 day and 2 hours ago 16 main
conda 40.9 kB | osx-arm64/r-zigg-0.0.2-r44hc1cd577_2.conda  1 day and 2 hours ago 14 main
conda 39.7 kB | osx-64/r-zigg-0.0.2-r45ha730edb_2.conda  1 day and 2 hours ago 17 main
conda 41.5 kB | linux-aarch64/r-zigg-0.0.2-r45h08b74da_2.conda  1 day and 2 hours ago 16 main
conda 42.1 kB | linux-ppc64le/r-zigg-0.0.2-r44hb6fba7b_2.conda  1 day and 2 hours ago 7 main
conda 40.7 kB | linux-64/r-zigg-0.0.2-r45h3697838_2.conda  1 day and 2 hours ago 27 main
conda 41.6 kB | linux-aarch64/r-zigg-0.0.2-r44h08b74da_2.conda  1 day and 2 hours ago 15 main
conda 42.2 kB | linux-ppc64le/r-zigg-0.0.2-r45hb6fba7b_2.conda  1 day and 2 hours ago 7 main
conda 40.7 kB | linux-64/r-zigg-0.0.2-r44h3697838_2.conda  1 day and 2 hours ago 29 main
conda 40.0 kB | osx-64/r-zigg-0.0.2-r44ha730edb_1.conda  10 days and 23 hours ago 13 main
conda 45.7 kB | win-64/r-zigg-0.0.2-r45hd8a2815_1.conda  10 days and 23 hours ago 19 main
conda 45.4 kB | win-64/r-zigg-0.0.2-r44hd8a2815_1.conda  10 days and 23 hours ago 21 main
conda 40.2 kB | osx-64/r-zigg-0.0.2-r45ha730edb_1.conda  10 days and 23 hours ago 19 main
conda 40.9 kB | linux-64/r-zigg-0.0.2-r44h3697838_1.conda  10 days and 23 hours ago 53 main
conda 40.6 kB | linux-64/r-zigg-0.0.2-r45h3697838_1.conda  10 days and 23 hours ago 53 main
conda 45.1 kB | win-64/r-zigg-0.0.2-r43h8ae3a7c_0.conda  6 months and 29 days ago 52 main
conda 44.9 kB | win-64/r-zigg-0.0.2-r44h8ae3a7c_0.conda  6 months and 29 days ago 45 main
conda 39.5 kB | osx-64/r-zigg-0.0.2-r44h2711daa_0.conda  6 months and 29 days ago 39 main
conda 39.2 kB | osx-64/r-zigg-0.0.2-r43h2711daa_0.conda  6 months and 29 days ago 41 main
conda 40.4 kB | linux-64/r-zigg-0.0.2-r44h93ab643_0.conda  6 months and 29 days ago 563 main
conda 40.4 kB | linux-64/r-zigg-0.0.2-r43h93ab643_0.conda  6 months and 29 days ago 579 main

© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.2) Legal | Privacy Policy