Linear congruential generator

ID: linear-congruential-generator

A Linear Congruential Generator (LCG) is a type of pseudo-random number generator algorithm that utilizes a linear congruential formula to produce a sequence of pseudo-random numbers. It is one of the oldest and simplest methods for generating random numbers and is widely used in computer simulations, statistical sampling, and various other applications that require random number generation.

New to topics? Read the docs here!