Mrg 32k 3a Constructor
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Overload List
| Mrg32k3a() | Initializes a new instance of the Mrg32k3a class using OS entropy. |
| Mrg32k3a( | Initializes a new instance of the Mrg32k3a class with the specified options. |
| Mrg32k3a( | Initializes a new instance of the Mrg32k3a class from saved state. |
| Mrg32k3a( | Initializes a new instance of the Mrg32k3a class with the specified seed. |
| Mrg32k3a( | Initializes a new instance of the Mrg32k3a class with the specified seed array. |
| Mrg32k3a( | Initializes a new instance of the Mrg32k3a class with the specified seed. |
| Mrg32k3a( | Initializes a new instance of the Mrg32k3a class with the specified seed array. |
| Mrg32k3a( | Initializes a new instance of the Mrg32k3a class from direct MRG32k3a state words. |
Mrg32k3a
Initializes a new instance of the Mrg32k3a class using OS entropy.
public Mrg32k3a()Mrg32k3a(RandomOptions)
Initializes a new instance of the Mrg32k3a class with the specified options.
Mrg32k3a(ReadOnlySpan<Byte>)
Initializes a new instance of the Mrg32k3a class from saved state.
Mrg32k3a(Int64, SeedProfile)
Initializes a new instance of the Mrg32k3a class with the specified seed.
public Mrg32k3a(
long seed,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seed Int64
- seedProfile SeedProfile (Optional)
Mrg32k3a(ReadOnlySpan<UInt32>, SeedProfile)
Initializes a new instance of the Mrg32k3a class with the specified seed array.
public Mrg32k3a(
ReadOnlySpan<uint> seedMaterial,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seedMaterial ReadOnlySpan<UInt32>
- seedProfile SeedProfile (Optional)
Mrg32k3a(Int64, StreamAddress, SeedProfile)
Initializes a new instance of the Mrg32k3a class with the specified seed.
public Mrg32k3a(
long seed,
StreamAddress streamAddress,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seed Int64
- streamAddress StreamAddress
- seedProfile SeedProfile (Optional)
Mrg32k3a(ReadOnlySpan<UInt32>, StreamAddress, SeedProfile)
Initializes a new instance of the Mrg32k3a class with the specified seed array.
public Mrg32k3a(
ReadOnlySpan<uint> seedMaterial,
StreamAddress streamAddress,
SeedProfile seedProfile = SeedProfile.Default
)Parameters
- seedMaterial ReadOnlySpan<UInt32>
- streamAddress StreamAddress
- seedProfile SeedProfile (Optional)
Mrg32k3a(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Initializes a new instance of the Mrg32k3a class from direct MRG32k3a state words.
public Mrg32k3a(
uint s10,
uint s11,
uint s12,
uint s20,
uint s21,
uint s22
)Parameters
- s10 UInt32
- The first state word of the first recurrence component.
- s11 UInt32
- The second state word of the first recurrence component.
- s12 UInt32
- The third state word of the first recurrence component.
- s20 UInt32
- The first state word of the second recurrence component.
- s21 UInt32
- The second state word of the second recurrence component.
- s22 UInt32
- The third state word of the second recurrence component.
Remarks
The first three state words must be less than 4294967087 and must not all be zero. The second three state words must be less than 4294944443 and must not all be zero.