public class ExtendedTrapezoidIntegrator1D extends Integrator1D<Double,Double>
This class is a wrapper for the Commons Math library implementation of trapezoidal integration.
| Constructor and Description |
|---|
ExtendedTrapezoidIntegrator1D() |
| Modifier and Type | Method and Description |
|---|---|
Double |
integrate(Function<Double,Double> f,
Double lower,
Double upper)
Trapezoid integration method.
|
integratepublic Double integrate(Function<Double,Double> f, Double lower, Double upper)
integrate in class Integrator1D<Double,Double>f - The function to integrate, not nulllower - The lower bound, not nullupper - The upper bound, not nullCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.