Pcg32 Constructor

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

Pcg32() Constructs a new PCG random number generator.
Pcg32(UInt64, UInt64) Constructs a new PCG random number generator.

Pcg32

Constructs a new PCG random number generator.
C#
public Pcg32()

Pcg32(UInt64, UInt64)

Constructs a new PCG random number generator.
C#
public Pcg32(
	ulong state,
	ulong sequence = 0
)

Parameters

state  UInt64
The initial state of the generator.
sequence  UInt64  (Optional)
Optional. The sequence number for the generator. The default is zero.

See Also