LasserreAvrachenkov {SimplicialCubature} | R Documentation |
Internal functions for integrateSimplexPolynomial.
Description
LasserreAvrachenkov implements the exact integration formula for a homogeneous polynomial p of degree q. The other functions are helper functions for that.
Usage
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
[Package SimplicialCubature version 1.3 Index]