Random Module
Types
| Type | Description |
|
Opaque pure RNG state (the xorshift64 stream word). Carry it through your `Model`; thread it with `nextRng`/`nextBelow`. The representation is `private` — construct it only via `seedRng`, advance it only via `nextRng`/`nextBelow`. |
Functions and values
| Function or value |
Description
|
|
|
|
|
|
Expand a seed into an initial state. splitmix64 avoids the all-zero xorshift64 fixed point, so any `seed` (including `0UL`) yields a usable stream.
|