Title : Random number generation - use tested parameters only!

Author: Tobias Hoßfeld

Short Description:

Random number generators are fundamental for simulations. The Linear-Congruential Generators (LCG) are simple to implement and lead to a sequence of pseudo-random numbers. The computation is x_n = a*x_n-1 + b mod m. The selection of proper parameters is however non-trivial and may lead to non-obvious issues.


    • random number generation

    • uniform distribution

    • Linear-Congruential Generator (LCG)

Previous error Next error