[Date Index] [Thread Index] [Author Index]
random number seeds
>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:= rs = $RandomState; In:= Random[ ] Out= 0.0431805 In:= $RandomState = rs; In:= Random[ ] Out= 0.0431805 Jerry B. Keiper keiper at wri.com Wolfram Research, Inc.