Method | Description | |
---|---|---|
Bool ( ) : bool |
Draw a random boolean with equal probability of drawing true or false.
|
|
Byte ( ) : byte |
Draw a random and uniform byte.
|
|
Bytes ( int length ) : byte[] |
Draw an array of random and uniform bytes.
|
|
Multi ( |
Constructs the RNG-object from different RNG's.
|
|
Uniform ( ) : double |
Draw a uniform random number in the exclusive range (0,1)
|
Method | Description | |
---|---|---|
SelectRand ( ) : int |
Select the RNG to use.
|
Method | Description | |
---|---|---|
Switch ( ) : void |
Switch the RNG currently being used. This is to be called before every RNG-method call.
|
public final Bytes ( int length ) : byte[] | ||
length | int | The array length requested. |
return | byte[] |
public Multi ( |
||
rands | The RNGs that will be switched between. |