Go to the previous, next section.

Random Numbers

CNCL provides a variety of random number generators, ranging from the very simple linear congruence generator to more sophisticated ones. Also included is a random number generator which reads random data from a file.

Random numbers are a crucial base of every simulation; most of the pseudo random number generators included in CNCL have their faults and short-comings.

The base random number generators are used by the random distribution classes to generate random numbers with the desired distribution.

Links to more information about random number generators:

  • Random number generators of University Karlsruhe
  • The RNG Document of ORNL's Computational Science Education Project

    Go to the previous, next section.