SplitMix64 Constructor

Definition

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

Overload List

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

SplitMix64

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

SplitMix64(RandomOptions)

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

Parameters

options  RandomOptions
 

SplitMix64(ReadOnlySpan<Byte>)

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

Parameters

state  ReadOnlySpan<Byte>
 

SplitMix64(UInt64)

Initializes a new instance of the SplitMix64 class with direct state initialization.
C#
public SplitMix64(
	ulong state
)

Parameters

state  UInt64
The 64-bit state value for the generator.

Remarks

This constructor directly sets the internal state to the specified value, matching the canonical SplitMix64 initialization.

SplitMix64(Int64, SeedProfile)

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

Parameters

seed  Int64
 
seedProfile  SeedProfile
 

SplitMix64(ReadOnlySpan<UInt64>, SeedProfile)

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

Parameters

seedMaterial  ReadOnlySpan<UInt64>
 
seedProfile  SeedProfile
 

SplitMix64(Int64, StreamAddress, SeedProfile)

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

Parameters

seed  Int64
 
streamAddress  StreamAddress
 
seedProfile  SeedProfile  (Optional)
 

SplitMix64(ReadOnlySpan<UInt64>, StreamAddress, SeedProfile)

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

Parameters

seedMaterial  ReadOnlySpan<UInt64>
 
streamAddress  StreamAddress
 
seedProfile  SeedProfile
 

See Also