AdvanceState            package:rlecuyer            R Documentation

_A_d_v_a_n_c_e _t_h_e _s_t_a_t_e _o_f _a _s_t_r_e_a_m

_D_e_s_c_r_i_p_t_i_o_n:

     '.lec.AdvanceState' advances the state of a stream by n steps (see
     bellow).

_U_s_a_g_e:

     .lec.AdvanceState (name, e, c)

_A_r_g_u_m_e_n_t_s:

    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.

_D_e_t_a_i_l_s:

     '.lec.AdvanceState' is a wrapper function for the C function
     'RngStream_AdvanceState' (L'Ecuyer et al, 2002).

_V_a_l_u_e:

     None.

_R_e_f_e_r_e_n_c_e_s:

     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.

