public final class RealFunctionIntegrator1DFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENDED_TRAPEZOID
Extended trapezoid integrator name
|
static ExtendedTrapezoidIntegrator1D |
EXTENDED_TRAPEZOID_INSTANCE
|
static String |
ROMBERG
Romberg integrator name
|
static RombergIntegrator1D |
ROMBERG_INSTANCE
|
static String |
SIMPSON
Simpson integrator name
|
static SimpsonIntegrator1D |
SIMPSON_INSTANCE
|
| Modifier and Type | Method and Description |
|---|---|
static Integrator1D<Double,Double> |
getIntegrator(String integratorName)
Given a name, returns an instance of that integrator.
|
static String |
getIntegratorName(Integrator1D<Double,Double> integrator)
Given an integrator, returns its name.
|
public static final String ROMBERG
public static final RombergIntegrator1D ROMBERG_INSTANCE
public static final String SIMPSON
public static final SimpsonIntegrator1D SIMPSON_INSTANCE
public static final String EXTENDED_TRAPEZOID
public static final ExtendedTrapezoidIntegrator1D EXTENDED_TRAPEZOID_INSTANCE
public static Integrator1D<Double,Double> getIntegrator(String integratorName)
integratorName - the name of the integratorIllegalArgumentException - if the integrator name is null or there is no integrator for that namepublic static String getIntegratorName(Integrator1D<Double,Double> integrator)
integrator - the integratorCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.