|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Mutable deterministic RNG state with cached normal sample. More...
#include <sim_noise_source.h>
Public Attributes | |
| uint64_t | state |
| uint64_t | inc |
| bool | normal_has_spare |
| double | normal_spare |
Mutable deterministic RNG state with cached normal sample.
The state/inc pair implements the underlying uniform stream. The spare fields cache the second Box-Muller output so repeated scalar-normal calls consume the same sequence as paired normal generation.
| uint64_t SimNoiseSourceRng::inc |
Odd stream increment derived from the seed sequence.
| bool SimNoiseSourceRng::normal_has_spare |
True when normal_spare holds a cached sample.
| double SimNoiseSourceRng::normal_spare |
Cached standard-normal sample.
| uint64_t SimNoiseSourceRng::state |
Current generator state.