**pyramid_integrals_test**,
a MATLAB code which
calls pyramid_integrals(), which
returns the exact value of the integral of any monomial x^i y^j z^k
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 GNU LGPL license.

pyramid_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit pyramid in 3D.

- pyramid_integrals_test.m, calls all the tests.
- pyramid_integrals_test.sh, runs all the tests.
- pyramid_integrals_test.txt, the output file.

- pyramid_integrals_test01.m, compares the exact integrals to Monte Carlo estimates.
- pyramid_integrals_test02.m, prints some sample points from the unit pyramid.