The start of the next substream of L'Ecuyer-CMRG: the state advanced by 2^76 steps. Equivalent to R's parallel::nextRNGSubStream().
parallel::nextRNGSubStream()
A 7-integer state, as for nextRNGStream.
A new state of the same form.
RangeError if state is not a valid L'Ecuyer-CMRG state.
state
RNGkind({ kind: "L'Ecuyer-CMRG" });setSeed(1);setRandomSeed(nextRNGSubStream(getRandomSeed()));// R: .Random.seed <- parallel::nextRNGSubStream(.Random.seed)runif(2); // [0.9158314, 0.1484848] Copy
RNGkind({ kind: "L'Ecuyer-CMRG" });setSeed(1);setRandomSeed(nextRNGSubStream(getRandomSeed()));// R: .Random.seed <- parallel::nextRNGSubStream(.Random.seed)runif(2); // [0.9158314, 0.1484848]
The start of the next substream of L'Ecuyer-CMRG: the state advanced by 2^76 steps. Equivalent to R's
parallel::nextRNGSubStream().