dxorshift 0.1.0

Random number generators from the extended Xorshift family


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Extended Xorshift Pseudo-Random Number Generators

Xorshift uniform random number generators were introduced by George Marsaglia in 2003, as a means of providing fast and lightweight pseudo-random number generation with high statistical quality.

Marsaglia's own xorshift generators are already implemented in the standard library of the D programming language. The dxorshift package provides instead implementations of some of the extended family of generators that other researchers have developed from Marsaglia's essential ideas.

Generators in the package are implemented as input ranges with the postblit and default constructors disabled. This should help to avoid accidental statistical correlations caused by unintended copy-by-value of generator state, and ensure that generators cannot be initialized unseeded.

Authors: Joseph Rushton Wakeling

Sub packages: dxorshift:benchmark

Dependencies: none

Versions:
0.1.0 2016-May-15
~master 2016-May-15
~wrapper 2016-May-15
Show all 3 versions
Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 50 downloads total