Package: polyCub 0.9.1

polyCub: Cubature over Polygonal Domains

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.

Authors:Sebastian Meyer [aut, cre, trl], Leonhard Held [ths], Michael Hoehle [ths]

polyCub_0.9.1.tar.gz
polyCub_0.9.1.zip(r-4.5)polyCub_0.9.1.zip(r-4.4)polyCub_0.9.1.zip(r-4.3)
polyCub_0.9.1.tgz(r-4.4-x86_64)polyCub_0.9.1.tgz(r-4.4-arm64)polyCub_0.9.1.tgz(r-4.3-x86_64)polyCub_0.9.1.tgz(r-4.3-arm64)
polyCub_0.9.1.tar.gz(r-4.5-noble)polyCub_0.9.1.tar.gz(r-4.4-noble)
polyCub_0.9.1.tgz(r-4.4-emscripten)polyCub_0.9.1.tgz(r-4.3-emscripten)
polyCub.pdf |polyCub.html
polyCub/json (API)
NEWS

# Install 'polyCub' in R:
install.packages('polyCub', repos = c('https://bastistician.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bastistician/polycub/issues

On CRAN:

numerical-integrationpolygons

7.07 score 9 stars 5 packages 26 scripts 1.1k downloads 20 exports 2 dependencies

Last updated 5 months agofrom:694cd74fc9. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 11 2024
R-4.5-win-x86_64OKNov 11 2024
R-4.5-linux-x86_64OKNov 11 2024
R-4.4-win-x86_64OKNov 11 2024
R-4.4-mac-x86_64OKNov 11 2024
R-4.4-mac-aarch64OKNov 11 2024
R-4.3-win-x86_64OKNov 11 2024
R-4.3-mac-x86_64OKNov 11 2024
R-4.3-mac-aarch64OKNov 11 2024

Exports:.polyCub.isoas.owin.gpc.polyas.owin.Polygonas.owin.Polygonsas.owin.SpatialPolygonscheckintrfrcircleCub.Gausscoercegpc2owingpclibPermitgpclibPermitStatusowin2gpcplotpolyfpolyCubpolyCub.exact.GausspolyCub.isopolyCub.midpointpolyCub.SVsfg2gpcxylist

Dependencies:latticesp

Getting started with polyCub

Rendered frompolyCub.Rmdusingknitr::knitron Nov 11 2024.

Last update: 2024-05-17
Started: 2019-01-24

Readme and manuals

Help Manual

Help pageTopics
Cubature over Polygonal DomainspolyCub-package
Check the Integral of r f_r(r)checkintrfr
Integration of the Isotropic Gaussian Density over Circular DomainscircleCub.Gauss
Conversion between polygonal '"owin"' and '"gpc.poly"'as.owin.gpc.poly coerce-gpc-methods gpc2owin owin2gpc
Coerce '"SpatialPolygons"' to '"owin"'as.owin.Polygon as.owin.Polygons as.owin.SpatialPolygons coerce,Polygon,owin-method coerce,Polygon,Polygons-method coerce,Polygons,owin-method coerce,SpatialPolygons,owin-method coerce-sp-methods
Plots a Polygonal Domain (of Various Classes)plot_polyregion
Plot Polygonal Domain on Image of Bivariate Functionplotpolyf
Wrapper Function for the Various Cubature MethodspolyCub
Quasi-Exact Cubature of the Bivariate Normal Density (DEFUNCT)polyCub.exact.Gauss
Cubature of Isotropic Functions over Polygonal Domains.polyCub.iso polyCub.iso
Two-Dimensional Midpoint RulepolyCub.midpoint
Product Gauss Cubature over Polygonal DomainspolyCub.SV
Convert polygonal '"sfg"' to '"gpc.poly"'sfg2gpc
Convert Various Polygon Classes to a Simple List of Verticesxylist xylist.default xylist.gpc.poly xylist.owin xylist.Polygon xylist.Polygons xylist.sfg xylist.SpatialPolygons