**normal01_multivariate_distance**,
a Python code which
considers the problem of describing the typical value of the distance
between a pair of points randomly selected from an isotropic
standard normal distribution in M dimensions.

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

**normal01_multivariate_distance** is available in
a MATLAB version and
a Python version.

ball_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the unit ball in 3D.

circle_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected on the circumference of the unit circle in 2D.

cube_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the unit cube in 3D.

disk_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the unit disk in 2D.

hyperball_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the unit hyperball in M dimensions.

hypersphere_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected on the surface of the unit hypersphere in M dimensions.

line_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the unit line segment in 1D.

sphere_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected on the unit sphere in 3D.

square_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the unit square in 2D.

triangle_distance, a Python code which considers the problem of describing the typical value of the distance between a pair of points randomly selected form the interior of a triangle in 2D.

- normal01_multivariate_distance.py, the source code.
- normal01_multivariate_distance.sh, runs all the tests.
- normal01_multivariate_distance.txt, the output file.

- normal01_multivariate_distance_compare.png, compares observed and theoretical values of the PDF.
- normal01_multivariate_distance_histogram.png, a histogram of the sample results.
- normal01_multivariate_distance_pdf.png, a plot of the theoretical probability density function.
- normal01_multivariate_distance_plot.png, a plot of the variation in the average distance as the dimension increases.