This package browser is in early development. Mind the rough edges.

r-dqrng 0.4.1

Fast pseudo random number generators

Several fast random number generators are provided as C++ header-only libraries: the PCG family as well as Xoroshiro128+ and Xoshiro256+. Additionally, fast functions for generating random numbers according to a uniform, normal and exponential distribution are included. The latter two use the Ziggurat algorithm originally proposed by Marsaglia and Tsang. These functions are exported to R and as a C++ interface and are enabled for use with the default 64 bit generator from the PCG family, Xoroshiro128+ and Xoshiro256+ as well as the 64 bit version of the 20 rounds Threefry engine (Salmon et al., 2011) as provided by the package sitmo.

Installation

Install r-dqrng 0.4.1 as follows:

guix install r-dqrng@0.4.1

Or install the latest version:

guix install r-dqrng

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.