public class GaussHermiteQuadratureIntegrator1D extends GaussianQuadratureIntegrator1D
GaussHermiteWeightAndAbscissaFunction.
At present, this integrator can only be used for the limits $\pm\infty$. The function to integrate is scaled in such a way as to allow any values for the limits of integration.
| Constructor and Description |
|---|
GaussHermiteQuadratureIntegrator1D(int n) |
| Modifier and Type | Method and Description |
|---|---|
Function<Double,Double> |
getIntegralFunction(Function<Double,Double> function,
Double lower,
Double upper)
Returns a function that is valid for both the type of quadrature and the limits of integration.
|
Double[] |
getLimits()
Gets the limits.
|
equals, hashCode, integrate, integrateFromPolyFuncintegratepublic GaussHermiteQuadratureIntegrator1D(int n)
n - The number of sample points to use in the integrationpublic Double[] getLimits()
getLimits in class GaussianQuadratureIntegrator1Dpublic Function<Double,Double> getIntegralFunction(Function<Double,Double> function, Double lower, Double upper)
getIntegralFunction in class GaussianQuadratureIntegrator1Dfunction - The function to be integrated, not nulllower - The lower integration limit, not nullupper - The upper integration limit, not nullUnsupportedOperationException - If the lower limit is not $-\infty$ or the upper limit is not $\infty$Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.