randlc, a C code which implements a version of the random number generator (RNG) used by the NAS Parallel Benchmarks.
The generator has the form
X(K+1) = A * X(K) mod 2^46where the suggested value of the multiplier A is 5^13 = 1220703125.
This scheme generates 2^44 numbers before repeating.
The web site for the NAS Parallel Benchmarks is https://www.nas.nasa.gov/Resources/Software/npb.html.
The information on this web page is distributed under the MIT license.
randlc is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
asa183, a C code which implements the Wichman-Hill pseudorandom number generator.
c_random_test, C codes which illustrate the use of C's random number generator routines.
normal, a C code which computes a sequence of pseudorandom normally distributed values.
ranlib, a C code which produces random samples from Probability Density Functions (PDF's), including Beta, Chi-square Exponential, F, Gamma, Multivariate normal, Noncentral chi-square, Noncentral F, Univariate normal, random permutations, Real uniform, Binomial, Negative Binomial, Multinomial, Poisson and Integer uniform, by Barry Brown and James Lovato.
random_sorted, a C code which generates vectors of random values which are already sorted.
rnglib, a C code which implements a random number generator (RNG) with splitting facilities, allowing multiple independent streams to be computed, by L'Ecuyer and Cote.
uniform, a C code which computes elements of a pseudorandom sequence.
van_der_corput, a C code which computes elements of a 1D van der Corput Quasi Monte Carlo (QMC) sequence using a simple interface.