Class Ran1-Random-Number-Generator
From Numerical Recipes in C:
'Minimal' random number generator of Park and Miller with Bayes-Durham
shuffle and added safeguards. Returns a uniform random deviate between 0.0 and
1.0 (exclusive of the endpoint values). It has a period of 2^31 - 1
(~ 2.1 x 10^9)
Slot
am | Initform:0.0d0, Initargs::am; Reader:am. |
---|
ia | Initform:16807.0d0, Initargs::ia; Reader:ia. |
---|
im | Initform:2.147483647d+9, Initargs::im; Reader:im. |
---|
internal-seed | Initform:0.0d0, Initargs::internal-seed; Reader:internal-seed. |
---|
iq | Initform:127773.0d0, Initargs::iq; Reader:iq. |
---|
ir | Initform:2836.0d0, Initargs::ir; Reader:ir. |
---|
iv | Initform:unbound, Initargs::iv; Reader:iv. |
---|
iy | Initform:0.0d0, Initargs::iy; Reader:iy. |
---|
ndiv | Initform:0.0d0, Initargs::ndiv; Reader:ndiv. |
---|
ntab | Initform:32, Initargs::ntab; Reader:ntab. |
---|
random-seed | Initargs::random-seed; Reader:random-seed. |
---|
rnmx | Initform:0.0d0, Initargs::rnmx; Reader:rnmx. |
---|
Direct Method
initialize-random-number-generator | (Internal) (Re)initialize a random number generator. Called when the generator is created and whe...
|
---|
next-element | Returns the next pseudo random number from a random number generator (using the generator as outp...
|
---|