ball_distance, an Octave code which estimates the distance between a pair of points randomly selected from the interior of the unit ball in 3D.
The computer code and data files made available on this web page are distributed under the MIT license
ball_distance is available in a MATLAB version and an Octave version and a Python version.
hypercube_distance, an Octave code which estimates the expected value of the distance between a pair of points randomly selected in the M-dimensional unit hypercube.
levenshtein_distance, an Octave code which returns the Levenshtein distance between two strings.
line_distance, an Octave 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.