Learn R Programming

⚠️There's a newer version (0.9.2) of this package.Take me there.

polyCub (version 0.5-2)

Cubature over Polygonal Domains

Description

The following methods for cubature (numerical integration) over polygonal domains are currently implemented: the two-dimensional midpoint rule as a simple wrapper around as.im.function() from package spatstat (Baddeley and Turner, 2005), the product Gauss cubature by Sommariva and Vianello (2007), an adaptive cubature for isotropic functions via line integrate() along the boundary (Meyer and Held, 2014), and quasi-exact methods specific to the integration of the bivariate Gaussian density over polygonal and circular domains (based on formulae from the Abramowitz and Stegun (1972) handbook). For cubature over simple hypercubes, the packages "cubature" and "R2Cuba" are more appropriate.

Copy Link

Version

Install

install.packages('polyCub')

Monthly Downloads

992

Version

0.5-2

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Sebastian Meyer

Last Published

April 19th, 2016

Functions in polyCub (0.5-2)

dotprod

Dot/Scalar Product of Two Vectors
plot_polyregion

Plots a Polygonal Domain (of Various Classes)
polyCub.iso

Cubature of Isotropic Functions over Polygonal Domains
coerce-sp-methods

Coerce
coerce-gpc-methods

Conversion between polygonal
polyCub.midpoint

Two-Dimensional Midpoint Rule
isClosed

Check if Polygon is Closed
plotpolyf

Plot Polygonal Domain on Image of Bivariate Function
checkintrfr

Check the Integral of
circleCub.Gauss

Integration of the Isotropic Gaussian Density over Circular Domains
polyCub-package

Cubature over Polygonal Domains
gpclibPermit

gpclib
polygauss

Calculate 2D Nodes and Weights of the Product Gauss Cubature
makegrid

Constructs Equally-Spaced Grid
vecnorm

Euclidean Vector Norm (Length)
xylist

Convert Various Polygon Classes to a Simple List of Vertices
polyCub

Wrapper Function for the Various Cubature Methods
isScalar

Checks if Argument is Scalar
polyCub.exact.Gauss

Quasi-Exact Cubature of the Bivariate Normal Density
polyCub.SV

Product Gauss Cubature over Polygonal Domains