Class MersenneTwister
Inheritance
System.Object
MersenneTwister
Assembly: Mt19937ar.dll
Syntax
Public Class MersenneTwister
Inherits Object
Constructors
MersenneTwister()
Declaration
MersenneTwister(UInt32)
Declaration
Public Sub New(seed As UInteger)
Parameters
Type |
Name |
Description |
System.UInt32 |
seed |
|
MersenneTwister(UInt32())
Declaration
Public Sub New(keyArray As UInteger())
Parameters
Type |
Name |
Description |
System.UInt32[] |
keyArray |
|
Methods
GenrandReal1()
Declaration
Public Function GenrandReal1 As Double
Returns
Type |
Description |
System.Double |
|
GenrandReal2()
Declaration
Public Function GenrandReal2 As Double
Returns
Type |
Description |
System.Double |
|
GenrandReal3()
Declaration
Public Function GenrandReal3 As Double
Returns
Type |
Description |
System.Double |
|
GenrandRes53()
Declaration
Public Function GenrandRes53 As Double
Returns
Type |
Description |
System.Double |
|
GenrandUint31()
Declaration
Public Function GenrandUint31 As UInteger
Returns
Type |
Description |
System.UInt32 |
|
GenrandUint32()
Declaration
Public Function GenrandUint32 As UInteger
Returns
Type |
Description |
System.UInt32 |
|
SetSeed(UInt32)
Declaration
Public Sub SetSeed(seed As UInteger)
Parameters
Type |
Name |
Description |
System.UInt32 |
seed |
|
SetSeed(UInt32())
Declaration
Public Sub SetSeed(keyArray As UInteger())
Parameters
Type |
Name |
Description |
System.UInt32[] |
keyArray |
|