public class GaussLaguerreQuadratureIntegrator1D extends GaussianQuadratureIntegrator1D
GaussLaguerreWeightAndAbscissaFunction.
The function to integrate is scaled in such a way as to allow any values for the limits of integration. At present, this integrator can only be used for the limits $[0, \infty]$.
| Constructor and Description |
|---|
GaussLaguerreQuadratureIntegrator1D(int n)
Creates an instance.
|
GaussLaguerreQuadratureIntegrator1D(int n,
double alpha)
Creates an instance.
|
| 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 GaussLaguerreQuadratureIntegrator1D(int n)
n - the valuepublic GaussLaguerreQuadratureIntegrator1D(int n,
double alpha)
n - the valuealpha - the alphapublic Double[] getLimits()
GaussianQuadratureIntegrator1DgetLimits 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.