**triangle_distance_test**,
a MATLAB code which
calls triangle_distance(), which
computes the expected value of the distance
between a pair of points randomly selected in a triangle.

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

triangle_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in a triangle.

- triangle_distance_test.m, calls all the tests.
- triangle_distance_test.sh, runs all the tests.
- triangle_distance_test.txt, the output file.

- triangle_distance_histogram_test.m,
- triangle_distance_stats_test.m,
- triangle_equilateral_distance_compare.png,
- triangle_equilateral_distance_pdf.png,
- triangle_right_distance_compare.png,
- triangle_right_distance_pdf.png,
- triangle_right_distance_pdf_test.m,
- triangle_right_error_test.m,
- triangle_sample_test.m,
- triangle_sample_test.png,
- triangle_sides_test.m,