HTML version of Scripted Foils prepared 12 November 1996

Foil 6 More on Generation of Random Numbers Numerically

From CPS615-End of Basic Overview of Random Numbers and First Part of Monte Carlo Integration Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 22 October 96. by Geoffrey C. Fox *
Secs 319.6
1 You do not need to "understand" this.
2 It is useful to check random number generator.
3 Is xn+i independent of xn for different values of i= 1...?
4 Also, note one must specify a "seed" = initial value x0
5 Then "random numbers" follow deterministically.
6 x0 => x1 => x2 ......
7 Set seed (x0) from "Time of Day"
8 Save seed so can rerun program..

Table Font Size


© 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 Fri Aug 15 1997