|We do the math so you don't have to!|
Random Number Generation
Here is information on pseudo and quasi random number generation with implementations in several languages. An a tutorial on how to generate nonuniformly distributed random numbers.
Zierler, N. and J. Brillhart,1969; On primitive trinomials (mod 2) II, Information and Control, Vol 14 No 6 (Jun), pp. 566 - 569
Warning: R250 requires the use of a separate random number generator in order to intialize itself. It can fail spectacularly if the initialization is poorly done. I have had reliable results using the Park and Miller "minimal standard" generator for the initializer. The above implementations use this initializer (which is included in the source code).
George Marsaliga's Mother of all Pseudo-Random-Number-Generators. (Warning: this is a slow PRNG, R250 is much faster).
Whats all the fuss about ? Why can't I just use the PRNG that came with my compiler ? See Also: