T
- Type of the field elements.public class IterativeLegendreFieldGaussIntegrator<T extends CalculusFieldElement<T>> extends BaseAbstractFieldUnivariateIntegrator<T>
DEFAULT_ABSOLUTE_ACCURACY, DEFAULT_MAX_ITERATIONS_COUNT, DEFAULT_MIN_ITERATIONS_COUNT, DEFAULT_RELATIVE_ACCURACY, iterations
Constructor and Description |
---|
IterativeLegendreFieldGaussIntegrator(Field<T> field,
int n,
double relativeAccuracy,
double absoluteAccuracy)
Builds an integrator with given accuracies.
|
IterativeLegendreFieldGaussIntegrator(Field<T> field,
int n,
double relativeAccuracy,
double absoluteAccuracy,
int minimalIterationCount,
int maximalIterationCount)
Builds an integrator with given accuracies and iterations counts.
|
IterativeLegendreFieldGaussIntegrator(Field<T> field,
int n,
int minimalIterationCount,
int maximalIterationCount)
Builds an integrator with given iteration counts.
|
Modifier and Type | Method and Description |
---|---|
protected T |
doIntegrate()
Method for implementing actual integration algorithms in derived
classes.
|
computeObjectiveValue, getAbsoluteAccuracy, getEvaluations, getField, getIterations, getMax, getMaximalIterationCount, getMin, getMinimalIterationCount, getRelativeAccuracy, integrate, setup
public IterativeLegendreFieldGaussIntegrator(Field<T> field, int n, double relativeAccuracy, double absoluteAccuracy, int minimalIterationCount, int maximalIterationCount) throws MathIllegalArgumentException
field
- field to which function argument and value belongn
- 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 IterativeLegendreFieldGaussIntegrator(Field<T> field, int n, double relativeAccuracy, double absoluteAccuracy) throws MathIllegalArgumentException
field
- field to which function argument and value belongn
- Number of integration points.relativeAccuracy
- Relative accuracy of the result.absoluteAccuracy
- Absolute accuracy of the result.MathIllegalArgumentException
- if n < 1
.public IterativeLegendreFieldGaussIntegrator(Field<T> field, int n, int minimalIterationCount, int maximalIterationCount) throws MathIllegalArgumentException
field
- field to which function argument and value belongn
- 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 T doIntegrate() throws MathIllegalArgumentException, MathIllegalStateException
doIntegrate
in class BaseAbstractFieldUnivariateIntegrator<T extends CalculusFieldElement<T>>
MathIllegalStateException
- if the maximal number of evaluations
is exceeded.MathIllegalArgumentException
Copyright © 2016-2022 CS GROUP. All rights reserved.