random_data_test
random_data_test,
a FORTRAN77 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 described and made available on this web page
are distributed under
the GNU LGPL license.
Related Data and Programs:
random_data,
a FORTRAN77 code 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.
Source Code:
The sample calling program generates sets of points:
-
bad_in_tetrahedron.txt,
points in the unit tetrahedron, not uniformly chosen.
-
bad_in_triangle.txt,
points in the unit triangle, not uniformly chosen.
-
brownian.txt, Brownian motion.
-
brownian.png
-
grid_in_cube01.txt,
grid points in the unit hypercube, with CENTER = 1.
-
grid_in_cube01.png
-
halton_in_circle01_accept.txt,
Halton points in the unit circle by acceptance/rejection.
-
halton_in_circle01_accept.png
-
halton_in_circle01_map.txt,
Halton points in the unit circle by direct mapping.
-
halton_in_circle01_map.png
-
halton_in_cube01.txt,
Halton points in the unit hypercube.
-
halton_in_cube01.png
-
hammersley_in_cube01.txt, Hammersley points in the unit hypercube.
-
hammersley_in_cube01.png
-
normal.txt, normal points, with
strong correlation between the two coordinates.
-
normal.png
-
normal_circular.txt,
circular normal points.
-
normal_circular.png
-
normal_simple.txt,
normal points in which there is no correlation between the
X and Y coordinates.
-
normal_simple.png
-
polygon_vertices.txt,
the vertices of a polygon to be filled by random points.
-
polygon_vertices.png,
-
uniform_in_annulus.txt,
uniform random points in an annulus, mappint.
-
uniform_in_annulus.png,
-
uniform_in_annulus_accept.txt,
uniform random points in an annulus, acceptance/rejection.
-
uniform_in_annulus_accept.png,
-
uniform_in_annulus_sector.txt,
uniform random points in an annulus sector, mapping.
-
uniform_in_annulus_sector.png,
-
uniform_in_cube01.txt,
uniform random points in the unit hypercube.
-
uniform_in_cube01.png,
-
uniform_in_circle01_map.txt,
uniform random points in the unit circle.
-
uniform_in_circle01_map.png,
-
uniform_in_ellipsoid_map.txt,
uniform random points in an ellipsoid.
-
uniform_in_ellipsoid_map.png,
-
uniform_in_parallelogram_map.txt,
uniform random points in a parallelogram.
-
uniform_in_parallelogram_map.png,
-
uniform_in_polygon_map.txt,
uniform random points in a polygon (a star, in this case).
-
uniform_in_polygon_map.png,
-
uniform_in_sector_map.txt,
uniform random points in a circular sector.
-
uniform_in_sector_map.png,
-
uniform_in_simplex01_map.txt,
uniform random points in the unit simplex.
-
uniform_in_simplex01_map.png,
-
uniform_in_sphere01_map.txt,
uniform random points in the unit sphere.
-
uniform_in_sphere01_map.png,
-
uniform_in_tetrahedron.txt,
uniform random points in an arbitrary tetrahedron.
-
uniform_in_triangle_map1.txt,
uniform random points in an arbitrary triangle, Turk method 1.
-
uniform_in_triangle_map1.png,
-
uniform_in_triangle_map2.txt,
uniform random points in an arbitrary triangle, Turk method 2.
-
uniform_in_triangle_map2.png,
-
uniform_in_triangle01_map.txt,
uniform random points in the unit triangle.
-
uniform_in_triangle01_map.png,
-
uniform_on_cube01.txt,
uniform random points on the unit cube.
-
uniform_on_ellipsoid_map.txt,
uniform random points on an ellipsoid.
-
uniform_on_ellipsoid_map.png,
-
uniform_on_hemisphere01_phong.txt,
uniform random points on a hemisphere, Phong distribution.
-
uniform_on_simplex01_map.txt,
uniform random points on the unit simplex.
-
uniform_on_simplex01_map.png,
-
uniform_on_sphere01_map.txt,
uniform random points on the unit sphere in 2D.
-
uniform_on_sphere01_map.png,
-
uniform_on_sphere01_patch_tp.txt,
uniform random points on an TP (theta,phi) "patch"
of the unit sphere in 3D.
-
uniform_on_sphere01_patch_tp.png
-
uniform_on_sphere01_patch_xyz.txt,
uniform random points on an XYZ "patch" of the unit sphere in 3D.
-
uniform_on_sphere01_patch_xyz.png
-
uniform_on_sphere01_triangle_xyz.txt,
uniform random points on a spherical triangle of the unit sphere in 3D
using XYZ coordinates.
-
uniform_walk.txt,
points on a uniform random walk.
-
uniform_walk.png,
Last revised on 08 November 2023.