GRID_DATASET
Generate Grid Datasets


GRID_DATASET is a FORTRAN90 program which creates a grid dataset.

The program is interactive, and allows the user to choose

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.

Note that, unless N is an Mth power of an integer, the program must generate a regular grid with too many points, and then omit some. Choosing which points to omit is done with a random number generator, whose actions are controlled by SEED.

The actual placement of the grid within the unit hypercube leaves some options for the use. It is easiest to describe the options in the 1 dimensional case, and in terms of where the first and last grid point are. Assuming we have N evenly spaced points to place between 0 and 1, the centering options are

Licensing:

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

Related Data and Programs:

GRID is a FORTRAN90 library which can define a grid dataset. GRID_DATASET needs a compiled copy of that library in order to build the program.

GRID is a dataset directory which contains a number of sample grid datasets.

GRID_DATASET is available in a C++ version and a FORTRAN90 version and a MATLAB version.

TABLE is the format which is used for the output files created by GRID_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.

Source Code:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 30 August 2005.