SplitMix64Engine.Seed Method

Definition

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

Overload List

Seed(SeedSequence) Initializes the engine state from a seed sequence.
Seed(UInt64) Directly sets the internal 64-bit state.

Seed(SeedSequence)

Initializes the engine state from a seed sequence.
C#
public void Seed(
	SeedSequence seed
)

Parameters

seed  SeedSequence
The seed sequence providing entropy.

Implements

IRandomEngine.Seed(SeedSequence)

Exceptions

ArgumentNullExceptionThrown when seed is null.

Seed(UInt64)

Directly sets the internal 64-bit state.
C#
public void Seed(
	ulong seed
)

Parameters

seed  UInt64
The 64-bit state value.

Remarks

This is the author-defined seeding routine that directly assigns the state without any expansion or mixing. The stream starts from this exact state value.

See Also