Class LaguerrePolynomialFunction
- java.lang.Object
-
- com.opengamma.strata.math.impl.function.special.OrthogonalPolynomialFunctionGenerator
-
- com.opengamma.strata.math.impl.function.special.LaguerrePolynomialFunction
-
public class LaguerrePolynomialFunction extends OrthogonalPolynomialFunctionGenerator
-
-
Constructor Summary
Constructors Constructor Description LaguerrePolynomialFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleFunction1D[]
getPolynomials(int n)
DoubleFunction1D[]
getPolynomials(int n, double alpha)
Gets the polynomials.Pair<DoubleFunction1D,DoubleFunction1D>[]
getPolynomialsAndFirstDerivative(int n)
Pair<DoubleFunction1D,DoubleFunction1D>[]
getPolynomialsAndFirstDerivative(int n, double alpha)
Gets the polynomials and derivative.-
Methods inherited from class com.opengamma.strata.math.impl.function.special.OrthogonalPolynomialFunctionGenerator
getOne, getX, getZero
-
-
-
-
Method Detail
-
getPolynomials
public DoubleFunction1D[] getPolynomials(int n)
- Specified by:
getPolynomials
in classOrthogonalPolynomialFunctionGenerator
-
getPolynomialsAndFirstDerivative
public Pair<DoubleFunction1D,DoubleFunction1D>[] getPolynomialsAndFirstDerivative(int n)
- Specified by:
getPolynomialsAndFirstDerivative
in classOrthogonalPolynomialFunctionGenerator
-
getPolynomials
public DoubleFunction1D[] getPolynomials(int n, double alpha)
Gets the polynomials.- Parameters:
n
- the n valuealpha
- the alpha value- Returns:
- the result
-
getPolynomialsAndFirstDerivative
public Pair<DoubleFunction1D,DoubleFunction1D>[] getPolynomialsAndFirstDerivative(int n, double alpha)
Gets the polynomials and derivative.- Parameters:
n
- the n valuealpha
- the alpha value- Returns:
- the result
-
-