Skip to main content

path_rng

Function path_rng 

Source
pub fn path_rng(seed: u64, path_index: u64) -> Pcg64
Expand description

Deterministic, independent RNG stream for one simulation path — the basis of parallel path generation (each path seeds its own generator, so results are identical regardless of thread scheduling).