polyCub

From MaRDI portal
Software:23061



swMATH11111CRANpolyCubMaRDI QIDQ23061

Cubature over Polygonal Domains

Sebastian Meyer

Last update: 25 October 2023

Copyright license: GNU General Public License, version 2.0

Software version identifier: 0.8.1, 0.2-0, 0.3-0, 0.3-1, 0.4-0, 0.4-1, 0.4-2, 0.4-3, 0.5-0, 0.5-1, 0.5-2, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.8.0, 0.9.0


Source code repository: https://github.com/cran/polyCub

Numerical integration of continuously differentiable functions f(x,y) over simple closed polygonal domains. The following cubature methods are implemented: product Gauss cubature (Sommariva and Vianello, 2007, <doi:10.1007/s10543-007-0131-2>), the simple two-dimensional midpoint rule (wrapping 'spatstat.geom' functions), and adaptive cubature for radially symmetric functions via line integrate() along the polygon boundary (Meyer and Held, 2014, <doi:10.1214/14-AOAS743>, Supplement B). For simple integration along the axes, the 'cubature' package is more appropriate.