hexagon_integrals, a Python 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.
python_integrals, a Python 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.