Constructs a LinearCongruentialEngine using the default seed configuration.
Constructs a LinearCongruentialEngine seeded with x0.
Returns the current pseudo-random value.
Advances the pseudo-random sequence.
Always false (random number generators are infinite ranges).
Linear congruential generators are some of the oldest algorithms for generating pseudo-random numbers. They tend to be fast but not of particularly high statistical quality, so their use is recommended only in very constrained circumstances, e.g. where memory is very severely restricted. Even then, consider using an Xorshift generator instead, as this should provide much higher statistical quality.