**line_monte_carlo_test**,
a MATLAB code which
calls line_monte_carlo(), which
uses the Monte Carlo method to estimate the integral of a function
over the length of the unit line in 1D.

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

line_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the length of the unit line segment in 1D;

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