**polygon_monte_carlo_test**,
a MATLAB code which
calls polygon_monte_carlo(), which
applies a Monte Carlo method to estimate the integral of a function
over the interior of a polygon in 2D.

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

polygon_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the interior of a polygon in 2D.

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

- polygon_monte_carlo_test01.m, estimates some integrals over a polygon, using the Monte Carlo method.