The linear congruential generator is a very simple example of a random number generator. All linear congruential generators use this formula: Where: r0 is a seed. r1, r2, r3, …, […]

Continue Reading
Skip to content
# Tag: congruential

## C++: Linear Congruential Generator

Posted on by TFE Times

The linear congruential generator is a very simple example of a random number generator. All linear congruential generators use this formula: Where: r0 is a seed. r1, r2, r3, …, […]

Continue Reading