jburkardt

UNIFORM_DATASET\ Generate Uniform Random Datasets {#uniform_dataset-generate-uniform-random-datasets align=”center”} ================================


UNIFORM_DATASET is a C++ program which creates a uniform random dataset and writes it to a file.

Usage: {#usage align=”center”}

uniform_dataset m n seed

where

The data is written to the file uniform_m_n.txt.

Licensing: {#licensing align=”center”}

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

Languages: {#languages align=”center”}

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

CVT_DATASET, a C++ program which computes a Centroidal Voronoi Tessellation and writes it to a file.

FAURE_DATASET, a C++ program which creates a Faure quasirandom dataset;

GRID_DATASET, a C++ program which creates a grid sequence and writes it to a file.

HALTON_DATASET, a C++ program which creates a Halton sequence and writes it to a file.

HAMMERSLEY_DATASET, a C++ program which creates a Hammersley sequence and writes it to a file.

HEX_GRID_DATASET, a C++ program which creates a hexagonal grid dataset and writes it to a file.

IHS_DATASET, a C++ program which creates an improved distributed Latin hypercube dataset and writes it to a file.

LATIN_CENTER_DATASET, a C++ program which creates a Latin Center Hypercube dataset;

LATIN_EDGE_DATASET, a C++ program which creates a Latin Edge Hypercube dataset;

LATIN_RANDOM_DATASET, a C++ program which creates a Latin Random Hypercube dataset;

LCVT_DATASET, a C++ program which computes a latinized Centroidal Voronoi Tessellation and writes it to a file.

NIEDERREITER2_DATASET, a C++ program which creates a Niederreiter quasirandom dataset with base 2;

NORMAL_DATASET, a C++ program which generates a dataset of multivariate normal pseudorandom values and writes them to a file.

SOBOL_DATASET, a C++ program which computes a Sobol quasirandom sequence and writes it to a file.

UNIFORM, a C++ library which computes the uniform datasets for UNIFORM_DATASET. A compiled copy of this library must be available in order to create the program.

UNIFORM, a dataset directory which contains examples of the files created by UNIFORM_DATASET.

VAN_DER_CORPUT_DATASET, a C++ program which creates a van der Corput quasirandom sequence and writes it to a file.

References: {#references align=”center”}

  1. Paul Bratley, Bennett Fox, Linus Schrage,\ A Guide to Simulation,\ Springer Verlag, pages 201-202, 1983.
  2. 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.
  3. Donald Knuth,\ The Art of Computer Programming,\ Volume 2: Seminumerical Algorithms,\ Addison Wesley, 1969.

Source Code: {#source-code align=”center”}

Examples: {#examples align=”center”}

List of Routines: {#list-of-routines align=”center”}

You can go up one level to the C++ source codes.


Last revised on 15 August 2009.