CXML
random-numbers
Random number generator subprograms
Description
Random Number Generator (RNG) subprograms are a part of the Compaq
Extended Math Library (CXML). CXML provides four RNG subprograms and two
auxiliary input subprograms for parallel applications.
The following subprograms are included in Random Number Generators. The
Subprogram Name is the name of the manual page containing documentation on
the subprogram.
Subprogram Name Operation
ranl
Generates very long period uniform random numbers
using an algorithm introduced by L'Ecuyer.
ranl_normal
Generates normally distributed random numbers
using summation of uniformly distributed random
numbers.
ranl_skip2
Auxiliary input routine for parallel applications
using ranl or ranl_normal subprograms. Used to
help generate nonoverlapping streams of
independent random numbers by skipping 2**d seeds.
ranl_skip64
Auxiliary input routine for parallel applications
using ranl or ranl_normal subprograms. Used to
help generate nonoverlapping streams of
independent random numbers by skipping a 64-bit
number d of seeds.
ran69069
Generates single-precision uniform random numbers
with a standard linear congruential method.
ran16807
Generates single-precision uniform random numbers
with a standard multiplicative congruential
method.
CXML Home Page Index of CXML Routines