random_data_test


random_data_test, a C++ code which calls random_data(), which uses a random number generator (RNG) to sample points for various probability distributions, spatial dimensions, and geometries, including the M-dimensional cube, ellipsoid, simplex and sphere.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Related Data and Programs:

random_data, a C++ code which uses a random number generator (RNG) to sample points corresponding to various probability density functions (PDF's), spatial dimensions, and geometries, including the M-dimensional cube, ellipsoid, simplex and sphere.

Source Code:

The sample calling program generates sets of points:

A file of commands is provided to simplify the use of PLOT_POINTS:

PLOT_POINTS makes Encapsulated PostScript images of the points, in cases where the data is 2 dimensional. These EPS files are converted to PNG images for posting on this web page.


Last revised on 06 April 2020.