Method | Description | |
---|---|---|
Ran2 ( ) : System |
Constructs the PRNG-object and seeds the PRNG with the current time of day. This is what you will mostly want to use.
|
|
Ran2 ( |
Constructs the PRNG-object using the designated seed. This is useful if you want to repeat experiments with the same sequence of pseudo-random numbers.
|
|
Rand ( ) : |
Draw a random number in inclusive range {0, .., RandMax}
|
Method | Description | |
---|---|---|
Seed ( |
Seed with an integer.
|
protected final Seed ( |
||
seed | ||
return | void |