#root::rng
Pcg32 root/rng/Pcg32.vi
struct Pcg32(...);
A PCG random number generator (XSH RR 64/32 (LCG) variant).
default root/rng/Pcg32.vi:7
const default: Pcg32;
A canonical Pcg32 instance.
seeded root/rng/Pcg32.vi:10
fn seeded(seed: String) -> Pcg32;
Create a Pcg32 RNG based on a given seed string.
new root/rng/Pcg32.vi:19
fn new(state: N64, increment: N64) -> Pcg32;
Create a new Pcg32 from the internal state and increment values.
gen_n32 root/rng/Pcg32.vi:30
fn gen_n32(...: &Pcg32) -> N32;
Generate a pseudo-random N32, updating the state of the RNG.
mix root/rng/Pcg32.vi:38
fn mix(...: &Pcg32, n: N32);
Modify the state of the RNG based on the provided N32.