pyramid_monte_carlo_test, a MATLAB code which calls pyramid_monte_carlo(), which estimates the integral of a function F(X,Y,Z) over the interior of the unit pyramid in 3D.
The computer code and data files described and made available on this web page are distributed under the MIT license
pyramid_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit pyramid in 3D;