Xoroshiro 128Plus Plus 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
| Xoroshiro128Plus | Initializes a new instance of the Xoroshiro128PlusPlus class using OS entropy. |
| Xoroshiro128Plus | Initializes a new instance of the Xoroshiro128PlusPlus class with the specified options. |
| Xoroshiro128Plus | Initializes a new instance of the Xoroshiro128PlusPlus class from saved state. |
| Xoroshiro128Plus | Initializes a new instance of the Xoroshiro128PlusPlus class with the specified seed. |
| Xoroshiro128Plus | Initializes a new instance of the Xoroshiro128PlusPlus class with the specified seed array. |
| Xoroshiro128Plus | Initializes a new instance of the Xoroshiro128PlusPlus class with direct state initialization. |
| Xoroshiro128Plus | Initializes a new instance of the Xoroshiro128PlusPlus class with the specified seed. |
| Xoroshiro128Plus | Initializes a new instance of the Xoroshiro128PlusPlus class with the specified seed array. |
Xoroshiro128PlusPlus
Initializes a new instance of the Xoroshiro128PlusPlus class using OS entropy.
public Xoroshiro128PlusPlus()Xoroshiro128PlusPlus(RandomOptions)
Initializes a new instance of the Xoroshiro128PlusPlus class with the specified options.
Xoroshiro128PlusPlus(ReadOnlySpan<Byte>)
Initializes a new instance of the Xoroshiro128PlusPlus class from saved state.
Xoroshiro128PlusPlus(Int64, SeedProfile)
Initializes a new instance of the Xoroshiro128PlusPlus class with the specified seed.
public Xoroshiro128PlusPlus(
long seed,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seed Int64
- seedProfile SeedProfile (Optional)
Xoroshiro128PlusPlus(ReadOnlySpan<UInt64>, SeedProfile)
Initializes a new instance of the Xoroshiro128PlusPlus class with the specified seed array.
public Xoroshiro128PlusPlus(
ReadOnlySpan<ulong> seedMaterial,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seedMaterial ReadOnlySpan<UInt64>
- seedProfile SeedProfile (Optional)
Xoroshiro128PlusPlus(UInt64, UInt64)
Initializes a new instance of the Xoroshiro128PlusPlus class with direct state initialization.
public Xoroshiro128PlusPlus(
ulong s0,
ulong s1
)Parameters
Remarks
This constructor directly sets the two 64-bit state words. The state must not be all zeros.
Exceptions
| Argument | Both state words are zero. |
Xoroshiro128PlusPlus(Int64, StreamAddress, SeedProfile)
Initializes a new instance of the Xoroshiro128PlusPlus class with the specified seed.
public Xoroshiro128PlusPlus(
long seed,
StreamAddress streamAddress,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seed Int64
- streamAddress StreamAddress
- seedProfile SeedProfile (Optional)
Xoroshiro128PlusPlus(ReadOnlySpan<UInt64>, StreamAddress, SeedProfile)
Initializes a new instance of the Xoroshiro128PlusPlus class with the specified seed array.
public Xoroshiro128PlusPlus(
ReadOnlySpan<ulong> seedMaterial,
StreamAddress streamAddress,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seedMaterial ReadOnlySpan<UInt64>
- streamAddress StreamAddress
- seedProfile SeedProfile (Optional)