triangle_monte_carlo_test, a MATLAB program which calls triangle_monte_carlo() to estimate the integral of a function over a general triangle using the Monte Carlo method.


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

Related Data and Programs:

triangle_monte_carlo, a MATLAB library which uses the Monte Carlo method to estimate integrals over the interior of a general triangle in 2D.

Source Code:

Last revised on 06 April 2019.