EVOLUTION-MANAGER
Edit File: AdvanceState.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Advance the state of a stream</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for AdvanceState {rlecuyer}"><tr><td>AdvanceState {rlecuyer}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Advance the state of a stream</h2> <h3>Description</h3> <p><code>.lec.AdvanceState</code> advances the state of a stream by <i>n</i> steps (see bellow). </p> <h3>Usage</h3> <pre> .lec.AdvanceState (name, e, c) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>name</code></td> <td> <p>name of the stream.</p> </td></tr> <tr valign="top"><td><code>e, c</code></td> <td> <p>if <i>e > 0</i> then <i>n = 2^e + c</i>; if <i>e < 0</i> then <i>n = -2^{-e} + c</i>; if <i>e = 0</i> then <i>n = c.</i></p> </td></tr> </table> <h3>Details</h3> <p><code>.lec.AdvanceState</code> is a wrapper function for the C function <code>RngStream_AdvanceState</code> (L'Ecuyer et al, 2002).</p> <h3>Value</h3> <p>None.</p> <h3>References</h3> <p>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.</p> <hr /><div style="text-align: center;">[Package <em>rlecuyer</em> version 0.3-4 <a href="00Index.html">Index</a>]</div> </body></html>