ParkMillerPRNG

Park-Miller linear congruential PRNG.

Declared in src/libs/librng/random/ParkMillerPRNG.hpp
Inherits RNG
Group rng

Detailed description

ParkMillerPRNG implements the minimal standard Park-Miller linear congruential generator. Uses minimal state (single 32-bit seed) with reasonable speed and quality. Good general-purpose PRNG.

See also MersennePRNG, RNG.

In this section