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 information on this web page is 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.