LasserreAvrachenkov: Internal functions for integrateSimplexPolynomial.

Description Usage Arguments Value References See Also

View source: R/SimplicialCubature.R

Description

LasserreAvrachenkov implements the exact integration formula for a homogeneous polynomial p of degree q. The other functions are helper functions for that.

Usage

1
2
3
LasserreAvrachenkov(q, p, useTerm, S)
nextIndexLA(current.n, b)
nextIntBaseB(current.n, b)

Arguments

q

degree of the polynomial p

p

polynomial obtained by calling definePoly

useTerm

vector of booleans, telling which terms are homogeneous of degree q

S

an n x (n+1) matrix specifying a single simplex; the columns S[,1],..,S[,n+1] give the vertices of the simplex.

current.n

vector of integers giving the base b representation of a (non-negative) integer

b

base used for the base b representation of an integer

Value

Not meant to be called externally.

References

See Lasserre and Avrachenkov, Baldoni, et al., and Konerth references in SimplicialCubature-package.

See Also

integrateSimplexPolynomial


SimplicialCubature documentation built on Jan. 8, 2021, 5:40 p.m.