Property | Type | Description | |
---|---|---|---|
SeedDefault | System.UInt32[] |
Method | Description | |
---|---|---|
Rand ( ) : |
Draw a random number in inclusive range {0, .., RandMax}
|
|
Seed ( |
Seed with an array.
|
|
XorShift ( ) : System |
Constructs the PRNG-object without a seed. Remember to seed it before drawing random numbers.
|
|
XorShift ( Random rand ) : System |
Constructs the PRNG-object and uses another RNG for seeding.
|
|
XorShift ( |
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.
|