This is the Swiss Army Knife approach to random number generators
![]() | fsultra (void) The only constructor |
![]() | sample (void) Correctly overload the sample() function |
![]() | seed (long Seed) Correctly overload the seed() function |
![]() | Other blades on the Swiss Army Knife.
|
This is the Swiss Army Knife approach to random number generators. Here is the Official Blurb, although I've adapted it to be a class in this library. Read the code for how this works; in brief, it mixes a congruential RNG with a shift-register RNG to produce the final output.FSU - ULTRA The greatest random number generator that ever was or ever will be. Way beyond Super-Duper. (Just kidding, but we think its a good one.) Authors: Arif Zaman (arif@stat.fsu.edu) and George Marsaglia (geo@stat.fsu.edu). Date: 27 May 1992 Version: 1.05 Copyright: To obtain permission to incorporate this program into any commercial product, please contact the authors at the e-mail address given above or at Department of Statistics and Supercomputer Computations Research Institute Florida State University Tallahassee, FL 32306. See Also: README for a brief description ULTRA.DOC for a detailed description
virtual void seed(long Seed)
generated by doc++