TOMS738 is a FORTRAN77 implementation of ACM TOMS algorithm 738, which computes Niederreiter's low discrepancy sequence.
A low discrepancy or quasirandom sequence, such as the Faure, Halton, Hammersley, Niederreiter, or Sobol sequence, 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.
The original, true, correct version of ACM TOMS Algorithm 738 is available through ACM: http://www.acm.org/pubs/calgo or NETLIB: http://www.netlib.org/toms/index.html
CVT is a FORTRAN90 library which computes elements of a Centroidal Voronoi Tessellation.
FAURE is a FORTRAN90 library which computes elements of a Faure quasirandom sequence.
GRID is a FORTRAN90 library which computes elements of a grid dataset.
HALTON is a FORTRAN90 library which computes elements of a Halton quasirandom sequence.
HAMMERSLEY is a FORTRAN90 library which computes elements of a Hammersley quasirandom sequence.
HEX_GRID is a FORTRAN90 library which computes elements of a hexagonal grid dataset.
HEX_GRID_ANGLE is a FORTRAN90 library which computes elements of an angled hexagonal grid dataset.
IHS is a FORTRAN90 library which computes elements of an improved distributed Latin hypercube dataset.
LATIN_CENTER is a FORTRAN90 library which computes elements of a Latin Hypercube dataset, choosing center points.
LATIN_EDGE is a FORTRAN90 library which computes elements of a Latin Hypercube dataset, choosing edge points.
LATIN_RANDOM is a FORTRAN90 library which computes elements of a Latin Hypercube dataset, choosing points at random.
LCVT is a FORTRAN90 library which computes a latinized Centroidal Voronoi Tessellation.
NIEDERREITER is a FORTRAN90 library which is a modification of ACM TOMS algorithm 738, which, among other things, allows the user to start the sequence at any point. This is for the arbitrary base calculations.
NIEDERREITER2 is a FORTRAN90 library which is a modification of ACM TOMS algorithm 738, which, among other things, allows the user to start the sequence at any point. This is for the base 2 calculations.
SOBOL is a FORTRAN90 library which computes elements of a Sobol quasirandom sequence.
TOMS738 is also available in a FORTRAN90 version.
UNIFORM is a FORTRAN77 library which computes elements of a uniform pseudorandom sequence.
VAN_DER_CORPUT is a FORTRAN77 library which computes elements of a van der Corput pseudorandom sequence.
GFARIT must be run first, to set up a tables of addition and multiplication.
GFPLYS must be run second, to set up a table of irreducible polynomials.
GENIN can be run to generate a particular Niederreiter sequence. The program is interactive, and requires the user to specify a test integral, the spatial dimension, the base, and the number of "warm up" values to skip.
GENIN_TWO is a special, very efficient version of GENIN for the special case where the base is 2:
You can go up one level to the FORTRAN90 source codes.