BaseAbstractUnivariateIntegrator, IterativeLegendreGaussIntegrator, MidPointIntegrator, RombergIntegrator, SimpsonIntegrator, TrapezoidIntegratorpublic interface UnivariateIntegrator
| Modifier and Type | Method | Description |
|---|---|---|
double |
getAbsoluteAccuracy() |
Get the absolute accuracy.
|
int |
getEvaluations() |
Get the number of function evaluations of the last run of the integrator.
|
int |
getIterations() |
Get the number of iterations of the last run of the integrator.
|
int |
getMaximalIterationCount() |
Get the upper limit for the number of iterations.
|
int |
getMinimalIterationCount() |
Get the min limit for the number of iterations.
|
double |
getRelativeAccuracy() |
Get the relative accuracy.
|
double |
integrate(int maxEval,
UnivariateFunction f,
double min,
double max) |
Integrate the function in the given interval.
|
double getRelativeAccuracy()
double getAbsoluteAccuracy()
int getMinimalIterationCount()
int getMaximalIterationCount()
double integrate(int maxEval,
UnivariateFunction f,
double min,
double max)
throws MathIllegalArgumentException,
MathIllegalStateException,
NullArgumentException
maxEval - Maximum number of evaluations.f - the integrand functionmin - the lower bound for the intervalmax - the upper bound for the intervalMathIllegalStateException - if the maximum number of function
evaluations is exceededMathIllegalStateException - if the maximum iteration count is exceeded
or the integrator detects convergence problems otherwiseMathIllegalArgumentException - if min > max or the endpoints do not
satisfy the requirements specified by the integratorNullArgumentException - if f is null.int getEvaluations()
int getIterations()
Copyright © 2016–2018 Hipparchus.org. All rights reserved.