Ran250: the Kirkpatrick-Stoll generator "R250". Returns integer random numbers uniformly distributed within [0,2147483646]. Notes: - SERIOUS DEFICIENCIES IN SOME PHYSICAL SIMULATIONS HAVE BEEN FOUND!
Notes: - SERIOUS DEFICIENCIES IN SOME PHYSICAL SIMULATIONS HAVE BEEN FOUND (e.g. in the Ising model using the Wolff cluster update algorithm) - The period is 2^250 - At least 32 bit unsigned long is required. - References: o S. Kirkpatrick and E. Stoll, "A Very Fast Shift-Register Sequence Random Number Generator", Journal of Computational Physics 40, 517 (1981) o W.L. Maier, "A Fast Pseudo Random Number Generator", Dr. Dobb's Journal, May, 152-157 (1991)
Constructor | Description |
Full Usage:
Ran250(the_seed)
Parameters:
uint32
|
|
Instance member | Description |
Full Usage:
this.Long
Returns: uint32
Modifiers: abstract |
|