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, integrate, setup
public IterativeLegendreGaussIntegrator(int n, double relativeAccuracy, double absoluteAccuracy, int minimalIterationCount, int maximalIterationCount)
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
is 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)
n
- Number of integration points.relativeAccuracy
- Relative accuracy of the result.absoluteAccuracy
- Absolute accuracy of the result.public IterativeLegendreGaussIntegrator(int n, int minimalIterationCount, int maximalIterationCount)
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.protected double doIntegrate()
doIntegrate
in class BaseAbstractUnivariateIntegrator
Copyright © 2018 CNES. All Rights Reserved.