pyramid_integrals_test, a FORTRAN90 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 MIT license
pyramid_integrals, a FORTRAN90 code which returns the exact value of the integral of any monomial over the interior of the unit pyramid in 3D.