AdvanceState {rlecuyer} | R Documentation |
.lec.AdvanceState
advances the state of a stream by
n steps (see bellow).
.lec.AdvanceState (name, e, c)
name |
name of the stream. |
e, c |
if e > 0 then n = 2^e + c; if e < 0 then n = -2^{-e} + c; if e = 0 then n = c. |
.lec.AdvanceState
is a wrapper function for the C
function RngStream_AdvanceState
(L'Ecuyer et al, 2002).
None.
P. L'Ecuyer, R. Simard, E.J.Chen and W.D.Kelton: An Object-Oriented Random-Number Package With Many Long Streams and Substreams; Operations Research, vol. 50, nr. 6, 2002.