dqrng

Fast Pseudo Random Number Generators

CRAN Package

Several fast random number generators are provided as C++ header only libraries: The PCG family by O'Neill (2014 https://www.cs.hmc.edu/tr/hmc-cs-2014-0905.pdf) as well as the Xoroshiro / Xoshiro family by Blackman and Vigna (2021 doi:10.1145/3460772). In addition 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 (2000, doi:10.18637/jss.v005.i08). The fast sampling methods support unweighted sampling both with and without replacement. 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, doi:10.1145/2063384.2063405) as provided by the package 'sitmo'.

  • Version0.4.1
  • R versionunknown
  • LicenseAGPL-3
  • Needs compilation?Yes
  • Last release05/28/2024

Documentation


Team


Insights

Last 30 days

This package has been downloaded 35,370 times in the last 30 days. The downloads are officially high enough to crash an underfunded departmental server. Quite an accomplishment! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 1,416 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
1,437 downloadsFeb 11, 2025
1,419 downloadsFeb 12, 2025
1,334 downloadsFeb 13, 2025
1,118 downloadsFeb 14, 2025
551 downloadsFeb 15, 2025
684 downloadsFeb 16, 2025
1,461 downloadsFeb 17, 2025
1,387 downloadsFeb 18, 2025
1,466 downloadsFeb 19, 2025
1,388 downloadsFeb 20, 2025
1,115 downloadsFeb 21, 2025
650 downloadsFeb 22, 2025
663 downloadsFeb 23, 2025
1,298 downloadsFeb 24, 2025
1,493 downloadsFeb 25, 2025
1,446 downloadsFeb 26, 2025
1,519 downloadsFeb 27, 2025
1,261 downloadsFeb 28, 2025
607 downloadsMar 1, 2025
630 downloadsMar 2, 2025
1,299 downloadsMar 3, 2025
1,456 downloadsMar 4, 2025
1,471 downloadsMar 5, 2025
1,397 downloadsMar 6, 2025
1,237 downloadsMar 7, 2025
647 downloadsMar 8, 2025
667 downloadsMar 9, 2025
1,326 downloadsMar 10, 2025
1,527 downloadsMar 11, 2025
1,416 downloadsMar 12, 2025
0 downloadsMar 13, 2025
0 downloadsMar 14, 2025
0 downloadsMar 15, 2025
551
1,527

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 446,992 times in the last 365 days. Practically an academic rockstar! That's enough downloads to cause murmurs at international conferences. The day with the most downloads was May 29, 2024 with 5,052 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports1 package
  • Suggests7 packages
  • Linking To3 packages
  • Reverse Imports7 packages
  • Reverse Suggests2 packages