UnivariateIntegrator
public class IterativeLegendreGaussIntegrator extends BaseAbstractUnivariateIntegrator
DEFAULT_ABSOLUTE_ACCURACY, DEFAULT_MAX_ITERATIONS_COUNT, DEFAULT_MIN_ITERATIONS_COUNT, DEFAULT_RELATIVE_ACCURACY, iterations
Constructor | 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 | 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) throws MathIllegalArgumentException
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.MathIllegalArgumentException
- if minimal number of iterations
or number of points are not strictly positive.MathIllegalArgumentException
- 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 MathIllegalArgumentException
n
- Number of integration points.relativeAccuracy
- Relative accuracy of the result.absoluteAccuracy
- Absolute accuracy of the result.MathIllegalArgumentException
- if n < 1
.public IterativeLegendreGaussIntegrator(int n, int minimalIterationCount, int maximalIterationCount) throws MathIllegalArgumentException
n
- Number of integration points.minimalIterationCount
- Minimum number of iterations.maximalIterationCount
- Maximum number of iterations.MathIllegalArgumentException
- if minimal number of iterations
is not strictly positive.MathIllegalArgumentException
- if maximal number of iterations
is smaller than or equal to the minimal number of iterations.MathIllegalArgumentException
- if n < 1
.protected double doIntegrate() throws MathIllegalArgumentException, MathIllegalStateException
doIntegrate
in class BaseAbstractUnivariateIntegrator
MathIllegalStateException
- if the maximal number of evaluations
is exceeded.MathIllegalArgumentException
Copyright © 2016–2018 Hipparchus.org. All rights reserved.