Wy Rand Engine.Seed Method
Definition
Namespace: Numerics.NET.Random.Engines
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
Overload List
| Seed( | Initializes the engine state from a seed sequence. |
| Seed( | Directly sets the internal 64-bit state. |
Seed(SeedSequence)
Initializes the engine state from a seed sequence.
public void Seed(
SeedSequence seed
)Parameters
- seed SeedSequence
- The seed sequence providing entropy.
Implements
IRandomEngine.Seed(SeedSequence)Exceptions
| Argument | Thrown when seed is null. |
Seed(UInt64)
Directly sets the internal 64-bit state.
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.