in reply to Re^2: Mersenne Twister
in thread Mersenne Twister
SEED = ( SEED * A + B ) MOD C
...where A, B, and C are some fractions, although in the C library, the value of B is set to 1.
Look here https://blogs.mathworks.com/cleve/2015/04/17/random-number-generator-mersenne-twister/ This page has a well documented source code. And maybe here as well https://en.wikipedia.org/wiki/List_of_random_number_generators which shows a list of random number generators.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Mersenne Twister
by swl (Prior) on Jan 05, 2024 at 23:42 UTC | |
by harangzsolt33 (Deacon) on Jan 06, 2024 at 00:44 UTC |