Basic HTML version of Foils prepared 21 October 1995

Foil 13 More on Generation of Random Numbers Numerically

From CPS615 Foils -- set D:Statistics and Random Numbers CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Geoffrey C. Fox


You do not need to "understand" this.
It is useful to check random number generator.
Is xn+i independent of xn for different values of i= 1...?
Also, note one must specify a "seed" = initial value x0
Then "random numbers" follow deterministically.
x0 => x1 => x2 ......
Set seed (x0) from "Time of Day"
Save seed so can rerun program..



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 13 1998