NIEDERREITER2 is a C++ library which implements the Niederreiter quasirandom sequence, using a base of 2.
A quasirandom or low discrepancy sequence, such as the Faure, Halton, Hammersley, Niederreiter or Sobol sequences, is "less random" than a pseudorandom number sequence, but more useful for such tasks as approximation of integrals in higher dimensions, and in global optimization. This is because low discrepancy sequences tend to sample space "more uniformly" than random numbers. Algorithms that use such sequences may have superior convergence.
NIEDERREITER2 is an adapation of the INLO2 and GOLO2 routines in ACM TOMS Algorithm 738. The original code can only compute the "next" element of the sequence. The revised code allows the user to specify the index of the desired element.
The original, true, correct version of ACM TOMS Algorithm 738 is available in the TOMS subdirectory of the NETLIB web site.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
NIEDERREITER2 is available in a C++ version and a FORTRAN90 version and a MATLAB version.
BOX_BEHNKEN, a C++ library which computes a Box-Behnken design, that is, a set of arguments to sample the behavior of a function of multiple parameters;
CVT, a C++ library which computes points in a Centroidal Voronoi Tessellation.
FAURE, a C++ library which computes Faure sequences.
GRID, a C++ library which computes points on a grid.
HALTON, a C++ library which computes elements of a Halton Quasi Monte Carlo (QMC) sequence, using a simple interface.
HAMMERSLEY, a C++ library which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.
HEX_GRID, a C++ library which computes sets of points in a 2D hexagonal grid.
IHS, a C++ library which computes improved Latin Hypercube datasets.
LATIN_CENTER, a C++ library which computes Latin square data choosing the center value.
LATIN_EDGE, a C++ library which computes Latin square data choosing the edge value.
LATIN_RANDOM, a C++ library which computes Latin square data choosing a random value in the square.
NIEDERREITER2_DATASET, a C++ program which creates a Niederreiter quasirandom dataset with base 2;
NORMAL, a C++ library which computes elements of a sequence of pseudorandom normally distributed values.
SOBOL, a C++ library which computes Sobol sequences.
UNIFORM, a C++ library which computes uniform random values.
VAN_DER_CORPUT, a C++ library which computes van der Corput sequences.
You can go up one level to the C++ source codes.