unitSphere_innerProduct1-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
and
are two
-dimensional parameter vectors.
The integral is known to be
where and
.
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 three parameters representing the dimension and the two
-dimensional (real) vectors
and
.
Slots
dim
An integer that captures the dimension
a
A
-dimensional real vector
b
A
-dimensional real vector
Author(s)
Klaus Herrmann
Examples
n <- as.integer(3)
f <- new("unitSphere_innerProduct1",dim=n,a=c(1,2,3),b=c(-1,-2,-3))