This is a Random number generator called Ranecu. A lot of the actual code was borrowed from the RngPack 1.0 Java package by Paul Houle.
This is a quote from the "Ranecu.java":
"Ranecu is an advanced multiplicative linear congruential random number generator with a period of aproximately 10e18"
References:
http://www.msc.cornell.edu/~houle/rngpack
F. James, "Comp. Phys. Comm." 60 1990 p 329-344 P. L`Ecuyer, "Commun. ACM." 1988 1988 p 742.
inherits
State supers: State, DoubleRandom
variables
Default seeds.
methods
instance (id) (r)
new;
|
Return a newly allocated instance, initialized with a random seed.
instance (id)
newWithDefault;
|
Return a newly allocated instance, initialized with a default seed.
instance (id) newWithSeed int seed; |
Return a newly allocated instance, initialized with the specified seed.
variables
The seed.
methods
id (self) initWithSeed (int, int) (s1, s2); |
Designated initializer.
id
init;
|
Default initializer.
id initWithSeed int seed; |
Short initializer.
id initWith Date d; |
Initialize with the date d.
double
next;
|
Undocumented.
double
raw;
|
Undocumented.
long
getSeed;
|
Undocumented.
This is a Random number generator called Ranlux. A lot of the actual code was borrowed from the RngPack 1.0 Java package by Paul Houle.
References:
http://www.msc.cornell.edu/~houle/rngpack F. James, "Computer Physics Communications" 79 (1994) 111 http://www.camk.edu.pl/~tomek/html.refs/ranlux.f90_2.html.
inherits
State supers: State, DoubleRandom
variables
Maximum luxury level.
Default luxury level.
methods
instance (id) (r)
new;
|
Undocumented.
instance (id)
newWithDefault;
|
Undocumented.
instance (id) newWithSeed int seed; |
Undocumented.
variables
methods
id (self)
init;
|
Undocumented.
id (self) initWithSeed int ins; |
Undocumented.
id (self) initWithSeed int ins atLux int lux; |
Undocumented.
void
initLux;
|
Undocumented.
void
initArrays;
|
Undocumented.
double
next;
|
Undocumented.
double
raw;
|
Undocumented.
void
rluxdef;
|
Undocumented.
void rluxgo (int, int) (lux, ins); |
Undocumented.
This is a Random number generator called Ranmar. A lot of the actual code was borrowed from the RngPack 1.0 Java package by Paul Houle.
This is a quote from the "Ranmar.java" :
"[Ranmar] is a lagged Fibonacci generator proposed by Marsaglia and Zaman and is a good research grade generator."
References:
http://www.msc.cornell.edu/~houle/rngpack.
inherits
State supers: DoubleRandom, State
variables
Default seed.
The 46,009,220th prime number, the largest prime less than 9*10e8. Used as a modulus because this version of RANMAR needs a seed between 0 and 9*10e8 and BIG_PRIME isn't commensurate with any regular period.
methods
instance (id) (r)
new;
|
Undocumented.
instance (id)
newWithDefault;
|
Undocumented.
instance (id) newWithSeed int seed; |
Undocumented.
variables
methods
id (self)
init;
|
Undocumented.
id (self) initWithSeed int seed; |
Undocumented.
id (self) initWith Date d; |
Undocumented.
void ranmarin int ijkl; |
Undocumented.
double
next;
|
Undocumented.
double
raw;
|
Undocumented.