hexagon_integrals_test, a MATLAB program which calls hexagon_integrals() to return the exact value of the integral of any monomial over the interior of a hexagon in 2D.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
hexagon_integrals, a MATLAB library which returns the exact value of the integral of any monomial over the interior of a hexagon in 2D.