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.. |