tetrahedron_monte_carlo_test, a MATLAB code which calls tetrahedron_monte_carlo(), which estimates the integral of a function over a general tetrahedron using the Monte Carlo method.
The computer code and data files described and made available on this web page are distributed under the MIT license
tetrahedron_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate integrals over the interior of a general tetrahedron in 3D.