Expand description
Holds implementations of several pseudo random number generators.
Structsยง
- Linear
Congruential Generator - The classical LCG algorithm. In the most general form it does:
X_{n+1} = (X_n * multiplier + increment) % modulus
.
Holds implementations of several pseudo random number generators.
X_{n+1} = (X_n * multiplier + increment) % modulus
.