Initializing the random number generator

### 19.3.1 Initializing the random number generator

The srand and RandSeed or randseed commands initialize (or re-initialize) the random numbers given by rand.

- srand takes one optional argument:

  Optionally, n, an integer.

- srand(n) initializes the random numbers.
- srand (no parentheses) initializes the random numbers using the system clock.

- RandSeed takes n, an integer.
- RandSeed(n) initializes the random numbers.