|
[Date Index]
[Thread Index]
[Author Index]
random number seeds
- To: mathgroup at yoda.physics.unc.edu
- Subject: random number seeds
- From: keiper
- Date: Thu, 21 Oct 93 09:37:20 -0600
>what i would like
>to do is save the current state of the computation from time to time
>so that it could be restarted. this means that i need to know the
>"current" random number seed so that the restart can use it.
You want to use $RandomState
In[12]:= rs = $RandomState;
In[13]:= Random[ ]
Out[13]= 0.0431805
In[14]:= $RandomState = rs;
In[15]:= Random[ ]
Out[15]= 0.0431805
Jerry B. Keiper
keiper at wri.com
Wolfram Research, Inc.
Prev by Date:
Taylor expansion
Next by Date:
MatrixInsert
Previous by thread:
random number seeds
Next by thread:
Taylor expansion
|