triangle_integrals_test, a C code which calls triangle_integrals() to return the exact value of the integral of a polynomial over the interior of an arbitrary triangle in 2D.
The computer code and data files described and made available on this web page are distributed under the MIT license
triangle_integrals, a C code which returns the exact value of the integral of a polynomial over the interior of an arbitrary triangle in 2D.