Uncommon

Linear congruential generator

Algorithm for generating pseudo-randomized numbers

Linear congruential generator

Uncommon card · No. 141852

A linear congruential generator (LCG) is an algorithm that yields a sequence of pseudo-randomized numbers calculated with a discontinuous piecewise linear equation. The method represents one of the oldest and best-known pseudorandom number generator algorithms. The theory behind them is relatively easy to understand, and they are easily implemented and fast, especially on computer hardware which can provide modular arithmetic by storage-bit truncation. The generator is defined by the recurrence relation: X n + 1 = ( a X n + c ) mod m {\displaystyle X_{n+1}=\left(aX_{n}+c\right){\bmod {m}}} where...

Read on Wikipedia · Image Cmglee, CC BY-SA 3.0

Open boosters, collect cards and trade them. Free to play.

Play for free
Linear congruential generator – Uncommon Wikipedia card | Wikiverse TCG