Every worker begins by seeding dqrng with the seed and stream it was
handed. This helper performs that call, so a worker can start with
set_worker_rng(set_up) instead of unpacking the two vectors by hand.
Arguments
- set_up
One element of the list returned by
make_set_up().
Examples
set_up <- make_set_up(1234, 100, 4)
set_worker_rng(set_up[[1]])
dqrng::dqrunif(3)
#> [1] 0.12669724 0.83522557 0.02294753