hexagon_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of a hexagon.
The code assumes that the hexagon has a "flat" top and bottom:
* * * * * *
The information on this web page is distributed under the MIT license.
hexagon_integrals is available in a MATLAB version and an Octave version and a Python version.
hexagon_lyness_rule, a MATLAB code which computes one of 13 Lyness quadrature rules over the interior of the unit hexagon.
hexagon_stroud_rule, a MATLAB code which computes one of four Stroud quadrature rules over the interior of the unit hexagon.
matlab_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the surface or interior of some geometric object, including a line, quadrilateral, box, circle, disk, sphere, ball and others.