Find and print out 100 (nStreams) seed values as a val declaration that can be copied into a class to initialize the seeds (as done above).
Return the next random number as a Double in the interval (0, 1).
Return the next stream value as a Long in the set {1, 2, .
Return the next stream value as a Long in the set {1, 2, ... , m-1}.
Return the mean for the random number generator's gen method.
the random number stream index
This class generates random real numbers in the range (0, 1). It is a Multiplicative Linear Congruential Generator (MLCG) shown to have statistical properties adequate for simple simulations (x = ax % m). In case a better generator is needed, a Multiple Recursive Generator (MRG) should be used.
the random number stream index
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.34.1024