c++ - PRNG library which support store/restore sequencing state? -


i writing functional style code needs random number. state mutations represented stream(sequence) of state. designed reproducibility. storing each state, expect can continue mutation @ state.

but problem random numbers. depending on internal state, storing last number doesn't give me correct result. need store prng state.

is there prng library support store , restore of sequencing state? wish library high quality of distribution.

is there prng library support store , restore of sequencing state?

all prng libraries allow store , restore state.


Comments