Every random number zulm draws (parameter initialisation, noise inside
graphs, zl_rng_uniform() and zl_rng_normal()) comes from 'zurand'
under a key derived from the session key and a name. zl_seed() sets
the session key from a whole number, or from a key made with
zurand::rng_key() or zurand::rng_fold(); with no argument it
returns the current key. Until it is set, the key is drawn once from
R's generator, so set.seed() before the first draw governs a session.
Examples
old <- zl_seed(42)
zl_rng_normal(3, "example")
#> [1] 0.3497453 0.3490455 0.2920494
zl_seed(old)