Show / Hide Table of Contents

Class MersenneTwister

Inheritance
System.Object
MersenneTwister
Namespace: Mt19937ar
Assembly: Mt19937ar.dll
Syntax
type MersenneTwister() =

Constructors

MersenneTwister()

Declaration
new() =

MersenneTwister(UInt32)

Declaration
new(seed : uint) =
Parameters
Type Name Description
System.UInt32 seed

MersenneTwister(UInt32[])

Declaration
new(key : uint array) =
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
In This Article
Back to top Generated by DocFX