Creates a new
Pcg32
instance, treating state and stream the same way as the reference implementation of PCG.- Namespace
- RandN
.Rngs - Containing Type
- Pcg32
Syntax
public static Pcg32 Create(ulong state, ulong stream)
Parameters
Name | Type | Description |
---|---|---|
state | ulong | The 64 bit state. |
stream | ulong | The 63 bit stream id - the highest bit is ignored. |
Return Value
Type | Description |
---|---|
Pcg32 |