A linear congruential generator (LCG) produces a sequence of pseudo-random numbers based on a linear recurrence relation.
This is the uniform random number generator recommended by L'Ecuyer in 1996.
Lehmer proposed a general linear congruential generator that generates pseudo-random numbers in [0, 1].
A Multiple Recursive Generator (MRG) is a linear congruential generator which takes this form:
Copyright © 2010-2017 Numerical Method Incorporation Limited. All Rights Reserved.