Ran005 Type

Ran005: congruential with shuffle. Returns an integer random number uniformly distributed within [0,714024].

Notes: - NOT RECOMENDED FOR SERIOUS APPLICATIONS.

                 Just use it for comparison purposes, etc.
            
                    - As you see the spacing of the numbers is very coarse.
            
               - Low order correlations are present.
            
                    - The period is effectively infinite.
            
                    - At least 32 bit long int is required.
            
                    - Corresponds to generator "ran2" of
                      W. H. Press, B. P. Flannery, S. A. Teukolsky, W. T. Vetterling,
                      Numerical Recipies in C, Cambridge Univ. Press, 1988.
            
                    - The generator is based upon
                      D. H. Knuth: The Art of Computer Programming, Vol.2, 2nd ed., 1981.

Constructors

Constructor Description

Ran005()

Full Usage: Ran005()

Ran005(the_seed)

Full Usage: Ran005(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