There are three steps involved:
- Allocating the seed
- Setting the seed using either (a) the system clock, or (b) a user-defined number
- Harvesting the random numbers
Here is a minimal program which demonstrates the use of Fortran's intrinsic random number generator
No comments:
Post a Comment