public class AdaptiveCompositeIntegrator1D extends Integrator1D<Double,Double>
| Constructor and Description |
|---|
AdaptiveCompositeIntegrator1D(Integrator1D<Double,Double> integrator)
Creates an instance.
|
AdaptiveCompositeIntegrator1D(Integrator1D<Double,Double> integrator,
double gain,
double tol)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Double |
integrate(Function<Double,Double> f,
Double lower,
Double upper)
1-D integration method.
|
integratepublic AdaptiveCompositeIntegrator1D(Integrator1D<Double,Double> integrator)
integrator - The base integratorpublic AdaptiveCompositeIntegrator1D(Integrator1D<Double,Double> integrator, double gain, double tol)
integrator - The base integrator.gain - The gain ratiotol - The tolerancepublic Double integrate(Function<Double,Double> f, Double lower, Double upper)
Integrator1Dintegrate 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.