Method | Description | |
---|---|---|
MersenneTwister ( ) : System |
Create a new instance of MersenneTwister using a default seed.
|
|
MersenneTwister ( uint seed ) : System |
Create a new instance of MersenneTwister using a specified seed.
|
|
Next ( ) : int |
Generates a random signed integer value.
|
|
Next ( int min, int max ) : int |
Generates a random number from interval [min,max).
|
|
NextUnsigned ( ) : uint |
Generates a random unsigned integer.
|
|
Seed ( uint seed ) : void |
Seeds the generator.
|
Method | Description | |
---|---|---|
NextDouble ( ) : double |
Generates a random double value from interval [0,1).
|
public MersenneTwister ( uint seed ) : System | ||
seed | uint | The seed. |
return | System |