Wy Rand Constructor
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
Overload List
| WyRand() | Initializes a new instance of the WyRand class using OS entropy. |
| WyRand( | Initializes a new instance of the WyRand class with the specified options. |
| WyRand( | Initializes a new instance of the WyRand class from saved state. |
| WyRand( | Initializes a new instance of the WyRand class with direct state initialization. |
| WyRand( | Initializes a new instance of the WyRand class with the specified seed. |
| WyRand( | Initializes a new instance of the WyRand class with the specified seed array. |
| WyRand( | Initializes a new instance of the WyRand class with the specified seed. |
| WyRand( | Initializes a new instance of the WyRand class with the specified seed array. |
WyRand
Initializes a new instance of the WyRand class using OS entropy.
public WyRand()WyRand(RandomOptions)
Initializes a new instance of the WyRand class with the specified options.
WyRand(ReadOnlySpan<Byte>)
Initializes a new instance of the WyRand class from saved state.
WyRand(UInt64)
Initializes a new instance of the WyRand class with direct state initialization.
Remarks
This constructor directly sets the internal state to the specified value, matching the canonical WyRand initialization.
WyRand(Int64, SeedProfile)
Initializes a new instance of the WyRand class with the specified seed.
WyRand(ReadOnlySpan<UInt64>, SeedProfile)
Initializes a new instance of the WyRand class with the specified seed array.
public WyRand(
ReadOnlySpan<ulong> seedMaterial,
SeedProfile seedProfile
)Parameters
- seedMaterial ReadOnlySpan<UInt64>
- seedProfile SeedProfile
WyRand(Int64, StreamAddress, SeedProfile)
Initializes a new instance of the WyRand class with the specified seed.
public WyRand(
long seed,
StreamAddress streamAddress,
SeedProfile seedProfile
)Parameters
- seed Int64
- streamAddress StreamAddress
- seedProfile SeedProfile
WyRand(ReadOnlySpan<UInt64>, StreamAddress, SeedProfile)
Initializes a new instance of the WyRand class with the specified seed array.
public WyRand(
ReadOnlySpan<ulong> seedMaterial,
StreamAddress streamAddress,
SeedProfile seedProfile
)Parameters
- seedMaterial ReadOnlySpan<UInt64>
- streamAddress StreamAddress
- seedProfile SeedProfile