MersenneTwister64 Constructor

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0

Overload List

MersenneTwister64() Initializes a new instance of the MersenneTwister64 class using OS entropy.
MersenneTwister64(RandomOptions) Initializes a new instance of the MersenneTwister64 class with the specified options.
MersenneTwister64(ReadOnlySpan<Byte>) Initializes a new instance of the MersenneTwister64 class from saved state.
MersenneTwister64(Int64, SeedProfile) Initializes a new instance of the MersenneTwister64 class with the specified seed.
MersenneTwister64(ReadOnlySpan<UInt64>, SeedProfile) Initializes a new instance of the MersenneTwister64 class with the specified seed array.
MersenneTwister64(Int64, StreamAddress, SeedProfile) Initializes a new instance of the MersenneTwister64 class with the specified seed.
MersenneTwister64(ReadOnlySpan<UInt64>, StreamAddress, SeedProfile) Initializes a new instance of the MersenneTwister64 class with the specified seed array.

MersenneTwister64

Initializes a new instance of the MersenneTwister64 class using OS entropy.
C#
public MersenneTwister64()

MersenneTwister64(RandomOptions)

Initializes a new instance of the MersenneTwister64 class with the specified options.
C#
public MersenneTwister64(
	RandomOptions options
)

Parameters

options  RandomOptions
 

MersenneTwister64(ReadOnlySpan<Byte>)

Initializes a new instance of the MersenneTwister64 class from saved state.
C#
public MersenneTwister64(
	ReadOnlySpan<byte> state
)

Parameters

state  ReadOnlySpan<Byte>
 

MersenneTwister64(Int64, SeedProfile)

Initializes a new instance of the MersenneTwister64 class with the specified seed.
C#
public MersenneTwister64(
	long seed,
	SeedProfile seedProfile = SeedProfile.Default
)

Parameters

seed  Int64
 
seedProfile  SeedProfile  (Optional)
 

MersenneTwister64(ReadOnlySpan<UInt64>, SeedProfile)

Initializes a new instance of the MersenneTwister64 class with the specified seed array.
C#
public MersenneTwister64(
	ReadOnlySpan<ulong> seedMaterial,
	SeedProfile seedProfile = SeedProfile.Default
)

Parameters

seedMaterial  ReadOnlySpan<UInt64>
 
seedProfile  SeedProfile  (Optional)
 

MersenneTwister64(Int64, StreamAddress, SeedProfile)

Initializes a new instance of the MersenneTwister64 class with the specified seed.
C#
public MersenneTwister64(
	long seed,
	StreamAddress streamAddress,
	SeedProfile seedProfile = SeedProfile.Default
)

Parameters

seed  Int64
 
streamAddress  StreamAddress
 
seedProfile  SeedProfile  (Optional)
 

MersenneTwister64(ReadOnlySpan<UInt64>, StreamAddress, SeedProfile)

Initializes a new instance of the MersenneTwister64 class with the specified seed array.
C#
public MersenneTwister64(
	ReadOnlySpan<ulong> seedMaterial,
	StreamAddress streamAddress,
	SeedProfile seedProfile = SeedProfile.Default
)

Parameters

seedMaterial  ReadOnlySpan<UInt64>
 
streamAddress  StreamAddress
 
seedProfile  SeedProfile  (Optional)
 

See Also