Class MersenneTwister
Inheritance
System.Object
MersenneTwister
Assembly: Mt19937ar.dll
Syntax
Constructors
MersenneTwister()
Declaration
MersenneTwister(UInt32)
Declaration
Parameters
Type |
Name |
Description |
System.UInt32 |
seed |
|
MersenneTwister(UInt32[])
Declaration
Parameters
Type |
Name |
Description |
System.UInt32[] |
key |
|
Methods
GenrandReal1()
Declaration
member this.GenrandReal1() : double =
Returns
Type |
Description |
System.Double |
|
GenrandReal2()
Declaration
member this.GenrandReal2() : double =
Returns
Type |
Description |
System.Double |
|
GenrandReal3()
Declaration
member this.GenrandReal3() : double =
Returns
Type |
Description |
System.Double |
|
GenrandRes53()
Declaration
member this.GenrandRes53() : double =
Returns
Type |
Description |
System.Double |
|
GenrandUint31()
Declaration
member this.GenrandUint31() : uint =
Returns
Type |
Description |
System.UInt32 |
|
GenrandUint32()
Declaration
member this.genrandUint32() : uint =
Returns
Type |
Description |
System.UInt32 |
|
SetSeed(UInt32)
Declaration
member this.SetSeed(seed : uint) : unit =
Parameters
Type |
Name |
Description |
System.UInt32 |
seed |
|
SetSeed(UInt32[])
Declaration
member this.SetSeed(key : uint) : unit =
Parameters
Type |
Name |
Description |
System.UInt32[] |
key |
|