Creates a new TRng using the specified seed.
- Namespace
- RandN
.Rngs - Containing Type
- XorShift
.Factory - Implements
- I
Reproducible Rng Factory <XorShift, (uint x, uint y, uint z, uint w)> .Create ( (uint x, uint y, uint z, uint w) )
- I
Syntax
public XorShift Create((uint x, uint y, uint z, uint w) seed)Parameters
| Name | Type | Description |
|---|---|---|
| seed | (uint x, | The seed to create the RNG with. | |
Return Value
| Type | Description |
|---|---|
| XorShift | A new TRng instance. |