public class IterativeLegendreGaussIntegrator extends BaseAbstractUnivariateIntegrator
DEFAULT_ABSOLUTE_ACCURACY, DEFAULT_MAX_ITERATIONS_COUNT, DEFAULT_MIN_ITERATIONS_COUNT, DEFAULT_RELATIVE_ACCURACY, iterations| Constructor and Description |
|---|
IterativeLegendreGaussIntegrator(int n,
double relativeAccuracy,
double absoluteAccuracy)
Builds an integrator with given accuracies.
|
IterativeLegendreGaussIntegrator(int n,
double relativeAccuracy,
double absoluteAccuracy,
int minimalIterationCount,
int maximalIterationCount)
Builds an integrator with given accuracies and iterations counts.
|
IterativeLegendreGaussIntegrator(int n,
int minimalIterationCount,
int maximalIterationCount)
Builds an integrator with given iteration counts.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
doIntegrate()
Method for implementing actual integration algorithms in derived
classes.
|
computeObjectiveValue, getAbsoluteAccuracy, getEvaluations, getIterations, getMax, getMaximalIterationCount, getMin, getMinimalIterationCount, getRelativeAccuracy, incrementCount, integrate, setuppublic IterativeLegendreGaussIntegrator(int n,
double relativeAccuracy,
double absoluteAccuracy,
int minimalIterationCount,
int maximalIterationCount)
throws NotStrictlyPositiveException,
NumberIsTooSmallException
n - Number of integration points.relativeAccuracy - Relative accuracy of the result.absoluteAccuracy - Absolute accuracy of the result.minimalIterationCount - Minimum number of iterations.maximalIterationCount - Maximum number of iterations.NotStrictlyPositiveException - if minimal number of iterations
or number of points are not strictly positive.NumberIsTooSmallException - if maximal number of iterations
is smaller than or equal to the minimal number of iterations.public IterativeLegendreGaussIntegrator(int n,
double relativeAccuracy,
double absoluteAccuracy)
throws NotStrictlyPositiveException
n - Number of integration points.relativeAccuracy - Relative accuracy of the result.absoluteAccuracy - Absolute accuracy of the result.NotStrictlyPositiveException - if n < 1.public IterativeLegendreGaussIntegrator(int n,
int minimalIterationCount,
int maximalIterationCount)
throws NotStrictlyPositiveException,
NumberIsTooSmallException
n - Number of integration points.minimalIterationCount - Minimum number of iterations.maximalIterationCount - Maximum number of iterations.NotStrictlyPositiveException - if minimal number of iterations
is not strictly positive.NumberIsTooSmallException - if maximal number of iterations
is smaller than or equal to the minimal number of iterations.NotStrictlyPositiveException - if n < 1.protected double doIntegrate()
throws MathIllegalArgumentException,
TooManyEvaluationsException,
MaxCountExceededException
doIntegrate in class BaseAbstractUnivariateIntegratorTooManyEvaluationsException - if the maximal number of evaluations
is exceeded.MaxCountExceededException - if the maximum iteration count is exceeded
or the integrator detects convergence problems otherwiseMathIllegalArgumentExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.