Method | Description | |
---|---|---|
Next ( ) : uint |
updates the state and returns the next 32-bit unsigned integer random number
|
|
RNG_MT19937 ( ) : System |
|
|
RNG_MT19937 ( uint s ) : System |
|
|
Run ( ) : uint |
|
|
Run ( uint b ) : uint |
returns a random integer sampled uniformly from [0, N).
|
|
Seed ( uint s ) : void |
|
|
Uniform ( double a, double b ) : double |
returns uniformly distributed double-precision floating-point random number from [a,b) range
|
|
Uniform ( float a, float b ) : float |
returns uniformly distributed floating-point random number from [a,b) range
|
|
Uniform ( int a, int b ) : int |
returns uniformly distributed integer random number from [a,b) range
|
public Uniform ( double a, double b ) : double | ||
a | double | |
b | double | |
return | double |