Learn R Programming

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

polyCub (version 0.3-0)

Cubature over Polygonal Domains

Description

A package providing methods for cubature (numerical integration) over polygonal domains. Currently, four cubature methods are implemented: the two-dimensional midpoint rule (a simple wrapper around spatstat::as.im.function), the product Gauss cubature proposed by Sommariva and Vianello (2007), an adaptive cubature for isotropic functions via line integrate() along the boundary, and quasi-exact methods specific to the integration of the bivariate Gaussian density over polygonal and circular domains. 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.3-0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Sebastian Meyer

Last Published

July 6th, 2013

Functions in polyCub (0.3-0)

polyCub.SV

Product Gauss Cubature over Polygonal Domains
polyCub.exact.Gauss

Quasi-Exact Cubature of the Bivariate Normal Density
makegrid

Constructs Equally-Spaced Grid
polyCub

Wrapper Function for the Various Cubature Methods
polyCub.iso

Cubature of Isotropic Functions over Polygonal Domains
polyCub.midpoint

Two-Dimensional Midpoint Rule
isClosed

Check if Polygon is Closed
gpclibPermit

gpclib Licence Acceptance
polygauss

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

Checks if Argument is Scalar
plot_polyregion

Plots a Polygon (of Various Classes)
circleCub.Gauss

Integration of the Isotropic Gaussian Density over Circular Domains
coerce-methods

Polygon Coercion Between Different Spatial Classes
vecnorm

Euclidean Vector Norm (Length)
polyCub-package

Cubature over Polygonal Domains
dotprod

Dot/Scalar Product of Two Vectors
discpoly

Polygonal Approximation of a Disc/Circle
plotpolyf

Plot Polygonal Domain on an Image of a Bivariate Function