Ran250 Type

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)

Constructors

Constructor Description

Ran250(the_seed)

Full Usage: Ran250(the_seed)

Parameters:
    the_seed : uint32

the_seed : uint32

Instance members

Instance member Description

this.Long

Full Usage: this.Long

Returns: uint32
Modifiers: abstract

Returns: uint32