Class JacobiPolynomialFunction
- java.lang.Object
-
- com.opengamma.strata.math.impl.function.special.OrthogonalPolynomialFunctionGenerator
-
- com.opengamma.strata.math.impl.function.special.JacobiPolynomialFunction
-
public class JacobiPolynomialFunction extends OrthogonalPolynomialFunctionGenerator
-
-
Constructor Summary
Constructors Constructor Description JacobiPolynomialFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleFunction1D[]
getPolynomials(int n)
DoubleFunction1D[]
getPolynomials(int n, double alpha, double beta)
Calculates polynomials.Pair<DoubleFunction1D,DoubleFunction1D>[]
getPolynomialsAndFirstDerivative(int n)
Pair<DoubleFunction1D,DoubleFunction1D>[]
getPolynomialsAndFirstDerivative(int n, double alpha, double beta)
Calculates 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, double beta)
Calculates polynomials.- Parameters:
n
- the n valuealpha
- the alpha valuebeta
- the beta value- Returns:
- the result
-
getPolynomialsAndFirstDerivative
public Pair<DoubleFunction1D,DoubleFunction1D>[] getPolynomialsAndFirstDerivative(int n, double alpha, double beta)
Calculates polynomials and derivative.- Parameters:
n
- the n valuealpha
- the alpha valuebeta
- the beta value- Returns:
- the result
-
-