Skip to main content

rng_from_seed

Function rng_from_seed 

pub fn rng_from_seed(seed: u64) -> ChaCha8Rng
Expand description

Builds the pinned RNG from an already-derived seed.

Use this when the seed came from somewhere else — for example the precomputed TrialMeta::sampler_seed that the study loop hands to samplers.