rng_cliff


rng_cliff, a MATLAB code which computes a sequence of values from the Cliff random number generator (RNG).

In exact arithmetic, the Cliff RNG can be shown to have fixed points, a very bad feature for an RNG. Roundoff seems to ameliorate this problem. However, the Cliff RNG fails a significant number of the DIEHARD RNG tests, and so should not be regarded as a reliable source for random numbers.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

rng_cliff is available in a MATLAB version.

Related Data and Programs:

asa183, a MATLAB code which implements the Wichman-Hill random number generator (RNG).

faure, a MATLAB code which computes elements of a Faure quasirandom sequence.

halton, a MATLAB code which computes elements of a halton quasirandom sequence.

hammersley, a MATLAB code which computes elements of a hammersley quasirandom sequence.

niederreiter2, a MATLAB code which computes elements of a niederreiter quasirandom sequence with base 2.

normal, a MATLAB code which computes a sequence of pseudorandom normally distributed values.

randlc, a MATLAB code which generates a sequence of pseudorandom numbers, used by the nas benchmark programs.

random_sorted, a MATLAB code which generates vectors of random values which are already sorted.

ranlib, a MATLAB 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.

rng_cliff_test

rnglib, a MATLAB code which implements a random number generator (rng) with splitting facilities, allowing multiple independent streams to be computed, by l'ecuyer and cote.

sobol, a MATLAB code which computes elements of a sobol quasirandom sequence.

uniform, a MATLAB code which implements random number generators (rng's) for a variety of arithmetic types.

van_der_corput, a MATLAB code which computes elements of a van der corput quasirandom sequence.

Reference:

  1. Cliff Pickover,
    Keys to Infinity,
    Freeman, 1995,
    ISBN: 978-0471118572

Source Code:


Last revised on 12 August 2019.