next up previous

Example 1 LCG (5, 1, 16, 1)     continued...

Table 1: Random Sequence of Example 1 - LCG(5, 1, 16, 1).

Let us exercise the code ranlc.f for additional parameters. In so doing, we shall choose parameters that illustrate specific aspects of linear, congruential generators. First, we take the case of c = 0. This is termed a multiplicative congruential random number generator:

The case is termed a mixed congruential random number generator.