**latin_center**,
a Python code which
makes Latin Center Squares for sampling.

A Latin square is a selection of one point from each row and column of a square matrix or table. In M dimensions, the corresponding item is a set of N points, where, in each dimension, there is exactly one point whose coordinates are in a given "column" or range of values. To emphasize the use of higher dimensions, these objects are sometimes called Latin hypersquares.

Once a particular Latin square has been chosen, if we select the center point of each subsquare, we have a Latin Center Square dataset.

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

**latin_center** is available in
a C++ version and
a Fortran90 version and
a MATLAB version and
a Python version.

halton, a Python code which computes elements of a Halton Quasi Monte Carlo (QMC) sequence.

hammersley, a Python code which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.

sobol, a Python code which computes elements of a Sobol quasirandom sequence.

uniform, a Python code which computes elements of a uniform pseudorandom sequence.

van_der_corput, a Python code which computes elements of a 1d van der corput sequence.

- latin_center.py, the source code.
- latin_center.sh, runs all the tests.
- latin_center.txt, the output file.