LATIN_RANDOM_DATASET
Generate Latin Random Square Datasets
LATIN_RANDOM_DATASET is a FORTRAN90 program,
using double precision arithmetic,
which creates a Latin Random Square dataset.
A Latin square, in M dimensional space, with N points,
can be thought of as being constructed by dividing each of the
M coordinate dimensions into N equal intervals.
The I-th coordinates of the N subsquares are defined
by assigning each possible value exactly once to one subsquare.
Such a set is called a Latin Square.
If we now select at random one point from each subsquare,
we have what we will term a "Latin Random Square".
The program is interactive, and allows the user to choose
-
M, the spatial dimension;
-
N, the number of points to generate;
-
SEED, a seed for UNIFORM, the portable uniform random
number generator used to make choices.
Once these parameters are set, the program generates the data,
and writes it to a file. The user may then specify another
set of data, or terminate the program.
Related Data and Programs:
LATIN_RANDOM
is a FORTRAN90 library of routines which
contains the computational routines
needed by LATIN_RANDOM_DATASET, and a compiled version of
that library must be available to build the program.
LATIN_RANDOM
is a dataset directory which
contains
sample datasets created by LATIN_RANDOM_DATASET.
TABLE
is a file format which is used for the output file created by
LATIN_RANDOM_DATASET
TABLE_DISCREPANCY
is a C++ program which can
read a TABLE file of points (presumed to lie in the
unit hypercube) and compute bounds on the star discrepancy,
a measure of dispersion.
Reference:
-
Paul Bratley, Bennett Fox, Linus Schrage,
A Guide to Simulation,
Springer Verlag, pages 201-202, 1983.
-
CJ Colbourn, JH Dinitz,
CRC Handbook of Combinatorial Design,
CRC, 1996.
-
Bennett Fox,
Algorithm 647:
Implementation and Relative Efficiency of Quasirandom
Sequence Generators,
ACM Transactions on Mathematical Software,
Volume 12, Number 4, pages 362-376, 1986.
-
Michael McKay, William Conover, Richard Beckman,
A Comparison of Three Methods for Selecting Values of Input
Variables in the Analysis of Output From a Computer Code,
Technometrics,
Volume 21, pages 239-245, 1979.
-
Albert Nijenhuis, Herbert Wilf,
Combinatorial Algorithms,
Academic Press, 1978, second edition,
ISBN 0-12-519260-6.
-
Herbert Ryser,
Combinatorial Mathematics,
Mathematical Association of America, 1963.
Source Code:
List of Routines:
-
MAIN is the main program for LATIN_RANDOM_DATASET.
You can go up one level to
the FORTRAN90 source codes.
Last revised on 01 September 2005.