Package: zurand 0.1.0
zurand: Fast Stateless Random Number Generation
Fast, stateless, deterministic random number generation. Random values are pure functions of immutable keys and sampler arguments, so sampling never touches the session's global random number state, and output is bit-identical across platforms and thread counts. The default engine is xoshiro256++ (Blackman and Vigna, 2021) <doi:10.1145/3460772>, reseeded from the Philox counter-based generator of the 'Random123' library (Salmon, Moraes, Dror and Shaw, 2011) <doi:10.1145/2063384.2063405>; Philox and Threefry are also available directly. Normal deviates use the ziggurat method (Marsaglia and Tsang, 2000) <doi:10.18637/jss.v005.i08>. Independent substreams are requested as key vectors with rng_key(seed, n) or derived explicitly with rng_fold().
Authors:
zurand_0.1.0.tar.gz
zurand_0.1.0.zip(r-4.7-x86_64)zurand_0.1.0.zip(r-4.7-arm64)zurand_0.1.0.zip(r-4.6-x86_64)zurand_0.1.0.zip(r-4.6-arm64)zurand_0.1.0.zip(r-4.5-x86_64)
zurand_0.1.0.tgz(r-4.6-x86_64)zurand_0.1.0.tgz(r-4.6-arm64)zurand_0.1.0.tgz(r-4.5-x86_64)zurand_0.1.0.tgz(r-4.5-arm64)
zurand_0.1.0.tar.gz(r-4.7-arm64)zurand_0.1.0.tar.gz(r-4.7-x86_64)zurand_0.1.0.tar.gz(r-4.6-arm64)zurand_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zurand/json (API)
| # Install 'zurand' in R: |
| install.packages('zurand', repos = c('https://pedrobtz.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pedrobtz/zurand/issues
Pkgdown/docs site:https://pedrobtz.github.io
Last updated from:37413e1f69. Checks:14 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 95 | ||
| linux-devel-x86_64 | OK | 125 | ||
| source / vignettes | OK | 202 | ||
| linux-release-arm64 | OK | 85 | ||
| linux-release-x86_64 | OK | 126 | ||
| macos-release-arm64 | OK | 123 | ||
| macos-release-x86_64 | OK | 292 | ||
| macos-oldrel-arm64 | OK | 99 | ||
| macos-oldrel-x86_64 | OK | 275 | ||
| windows-devel-arm64 | OK | 339 | ||
| windows-devel-x86_64 | OK | 131 | ||
| windows-release-arm64 | OK | 376 | ||
| windows-release-x86_64 | OK | 93 | ||
| windows-oldrel-x86_64 | OK | 99 | ||
| wasm-release | FAIL | 81 |
Exports:rng_bitsrng_foldrng_integerrng_keyrng_key_from_rrng_lazy_normalrng_lazy_uniformrng_normalrng_simdrng_threadsrng_uniform
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Draw low-level random bits | rng_bits |
| Fold data into a key | rng_fold |
| Draw integer random values | rng_integer |
| Create a stateless RNG key | as.character.rng_key as.list.rng_key c.rng_key duplicated.rng_key format.rng_key head.rng_key length.rng_key Math.rng_key mtfrm.rng_key names<-.rng_key Ops.rng_key print.rng_key rep.rng_key rng_key Summary.rng_key t.rng_key tail.rng_key unique.rng_key xtfrm.rng_key [.rng_key [<-.rng_key [[.rng_key [[<-.rng_key |
| Create a key from R's RNG | rng_key_from_r |
| Lazy random vectors | rng_lazy_normal rng_lazy_uniform |
| Draw normal random values | rng_normal |
| Report or disable the SIMD path | rng_simd |
| Control zurand's thread usage | rng_threads |
| Draw uniform random values | rng_uniform |
