Xoshiro 256Star Star 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 four 64-bit state words. |
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. |
| Argument | Thrown when seed produces an all-zero state. |
Seed(UInt64, UInt64, UInt64, UInt64)
Directly sets the four 64-bit state words.
public void Seed(
ulong s0,
ulong s1,
ulong s2,
ulong s3
)Parameters
Remarks
This is the author-defined seeding routine for Xoshiro256** that directly assigns
the four state words. All-zero state is forbidden.
Exceptions
| Argument | Thrown when all state words are zero. |