Ran056: Knuth's lagged Fibonacci random generator with 3-decimation. Returns integer random numbers uniformly distributed within [0,2147483647]. The period is 2^55/3 > 1.2*10^16.
- At least 32 bit long int is required, but works with any larger word lengths - This is the same lagged Fibonacci generator as Ran055 x(n) = ( x(n-55) - x(n-24) ) mod 2^31 - but a decimation strategy is applied to remove the known correlations. Only every 3rd number will be used: - Reference: I. Vattulainen, T. Ala-Nissila, and K. Kankaala, Physical Tests for Random Numbers in Simulations, Phys. Rev. Lett. 73, 2513 (1994).
Constructor | Description |
Full Usage:
Ran056()
|
|
Full Usage:
Ran056(the_seed)
Parameters:
uint32
|
|
Instance member | Description |
Full Usage:
this.Long
Returns: uint32
Modifiers: abstract |
|