Pcg 64Dxsm 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
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class using OS entropy. |
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class with the specified options. |
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class from saved state. |
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class with the specified seed. |
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class with the specified seed array. |
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class with direct state and stream initialization. |
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class with the specified seed. |
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class with the specified seed array. |
| Pcg6 | Initializes a new instance of the Pcg64Dxsm class with direct state and stream initialization. |
Pcg64Dxsm
Initializes a new instance of the Pcg64Dxsm class using OS entropy.
public Pcg64Dxsm()Pcg64Dxsm(RandomOptions)
Initializes a new instance of the Pcg64Dxsm class with the specified options.
Pcg64Dxsm(ReadOnlySpan<Byte>)
Initializes a new instance of the Pcg64Dxsm class from saved state.
Pcg64Dxsm(Int64, SeedProfile)
Initializes a new instance of the Pcg64Dxsm class with the specified seed.
public Pcg64Dxsm(
long seed,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seed Int64
- seedProfile SeedProfile (Optional)
Pcg64Dxsm(ReadOnlySpan<UInt64>, SeedProfile)
Initializes a new instance of the Pcg64Dxsm class with the specified seed array.
public Pcg64Dxsm(
ReadOnlySpan<ulong> seedMaterial,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seedMaterial ReadOnlySpan<UInt64>
- seedProfile SeedProfile (Optional)
Pcg64Dxsm(UInt128, UInt128)
Initializes a new instance of the Pcg64Dxsm class with direct state and stream initialization.
public Pcg64Dxsm(
UInt128 state,
UInt128 stream
)Parameters
Remarks
This constructor directly sets the internal 128-bit state and stream using the cheap multiplier variant, matching the canonical PCG64-DXSM initialization.
Pcg64Dxsm(Int64, StreamAddress, SeedProfile)
Initializes a new instance of the Pcg64Dxsm class with the specified seed.
public Pcg64Dxsm(
long seed,
StreamAddress streamAddress,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seed Int64
- streamAddress StreamAddress
- seedProfile SeedProfile (Optional)
Pcg64Dxsm(ReadOnlySpan<UInt64>, StreamAddress, SeedProfile)
Initializes a new instance of the Pcg64Dxsm class with the specified seed array.
public Pcg64Dxsm(
ReadOnlySpan<ulong> seedMaterial,
StreamAddress streamAddress,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seedMaterial ReadOnlySpan<UInt64>
- streamAddress StreamAddress
- seedProfile SeedProfile (Optional)
Pcg64Dxsm(UInt64, UInt64, UInt64, UInt64)
Initializes a new instance of the Pcg64Dxsm class with direct state and stream initialization.
public Pcg64Dxsm(
ulong stateLo,
ulong stateHi,
ulong streamLo,
ulong streamHi
)Parameters
Remarks
This constructor directly sets the internal 128-bit state and stream using the cheap multiplier variant, matching the canonical PCG64-DXSM initialization.