|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectq1471341.mp1074.integration.Integrand
q1471341.mp1074.integration.lattice.FAlpha
This class implements the integrand function usually used in the optimization of generator vectors for lattice rules. Optimization is possible for three predefined values of alpha, namely alpha in { 2, 4, 6 }. The value of nCopy allows to optimize not only generator vectors for good lattice points lattice rules, but also for embedded copy rules.
Field Summary | |
static int |
ALPHA_2
|
static int |
ALPHA_4
|
static int |
ALPHA_6
|
Constructor Summary | |
FAlpha(int dim)
Constructs an instance of the integrand fucntion F_Alpha |
|
FAlpha(int dim,
int nCopy,
int alpha)
Constructor of class F_Alpha |
Method Summary | |
int |
dimension()
Returns the dimension of the domain of the function. |
double |
evaluate(double[] x)
Evaluates the integrand function at a given point x. |
void |
setCalculateDifference(boolean calculateDifference)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ALPHA_2
public static final int ALPHA_4
public static final int ALPHA_6
Constructor Detail |
public FAlpha(int dim)
F_Alpha
dim
- the spatial dimension.public FAlpha(int dim, int nCopy, int alpha)
F_Alpha
dim
- the spatial dimension.nCopy
- copy value of embedded lattice rule if applicablealpha
- requested goodness of approximationMethod Detail |
public int dimension()
Integrand
dimension
in class Integrand
public double evaluate(double[] x)
evaluate
in class Integrand
x
- point at which the integrand is to be evaluated
public java.lang.String toString()
public void setCalculateDifference(boolean calculateDifference)
calculateDifference
- The calculateDifference to set.
Note: This flag is only used while optimizing generator vectors for
lattice rules.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |