unitSphere_polynomial-class {multIntTestFunc} | R Documentation |
An S4 class to represent the function
on
Description
Implementation of the function
where is the dimension of the integration domain
and
,
, are parameters.
If at least one of the coefficients
is odd, i.e.,
for at leas one
, the integral is zero, otherwise the integral is known to be
where .
Details
Due to the difficulty of testing in floating point arithmetic this class also implements the function "domainCheckP".
This allows to pass a list with an additional non-negative parameter "eps" representing a non-negative real number
and allows to test
.
See also the documentation of the function "checkUnitSphere" that is used to perform the checks.
The instance needs to be created with two parameters representing the dimension and a
-dimensional vector of integers (including
) representing the exponents.
Slots
dim
An integer that captures the dimension
expo
An vector that captures the exponents
Author(s)
Klaus Herrmann
Examples
n <- as.integer(3)
f <- new("unitSphere_polynomial",dim=n,expo=c(1,2,3))