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.
Constructor | Description |
Full Usage:
Ran005()
|
|
Full Usage:
Ran005(the_seed)
Parameters:
uint32
|
|
Instance member | Description |
Full Usage:
this.Long
Returns: uint32
Modifiers: abstract |
|