Generate sequences of pseudo-random numbers using one of two algorithms (see below)
Pseudo-random number sequences are generated using one of two algorithms:
- GJ Mitchell & DP Moore algorithm from The Art of Computer Programming vol 2 Seminumerical Algorithms 2nd edition by Donald E Knuth. This uses integer modulo arithmetic to seed the generator then subtractive combination to generate sequences in the range 0 <= x < 10e9. This implementation uses recommended number pair (24, 55). Other recommended pairs include (32, 65) but (27, 98) causes initialisation to fail.