public interface Integrator
| Modifier and Type | Method and Description |
|---|---|
double |
getPrecision()
Get the convergence threshold.
|
double |
integrate(UnivariateRealFunction f,
double a,
double b)
Integrate function f from a to b,
\[
\int_a^b\! f(x)\, dx
\]
|
double integrate(UnivariateRealFunction f, double a, double b)
f - a univariate functiona - the lower limitb - the upper limitdouble getPrecision()
IterativeIntegrator,
the integral is considered converged if the relative error of two successive sums is less than the threshold.Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.