pyramid_integrals_test, a C 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 information on this web page is distributed under the MIT license.
pyramid_integrals, a C code which returns the exact value of the integral of any monomial over the interior of the unit pyramid in 3D.