tetrahedron_monte_carlo_test, a C code which calls tetrahedron_monte_carlo() to estimate the integral of a function F(X,Y,Z) over a tetrahedron using the Monte Carlo method.
The information on this web page is distributed under the MIT license.
tetrahedron_monte_carlo, a C code which uses the Monte Carlo method to estimate integrals over the interior of a general tetrahedron in 3D.