triangle01_monte_carlo_test, a C code which calls triangle01_monte_carlo() to use the Monte Carlo method to estimate the integral of a function F(X,Y) over the interior of the unit triangle.
The computer code and data files described and made available on this web page are distributed under the MIT license
triangle01_monte_carlo, a C code which uses the Monte Carlo method to estimate integrals over the interior of the unit triangle in 2D.