## Class JacobiPolynomialFunction

• public class JacobiPolynomialFunction
extends OrthogonalPolynomialFunctionGenerator
• ### Constructor Summary

Constructors
Constructor Description
JacobiPolynomialFunction()
• ### Method Summary

All 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
• ### Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### Constructor Detail

• #### JacobiPolynomialFunction

public JacobiPolynomialFunction()
• ### Method Detail

• #### getPolynomials

public DoubleFunction1D[] getPolynomials​(int n)
Specified by:
getPolynomials in class OrthogonalPolynomialFunctionGenerator
• #### getPolynomialsAndFirstDerivative

public Pair<DoubleFunction1D,​DoubleFunction1D>[] getPolynomialsAndFirstDerivative​(int n)
Specified by:
getPolynomialsAndFirstDerivative in class OrthogonalPolynomialFunctionGenerator
• #### getPolynomials

public DoubleFunction1D[] getPolynomials​(int n,
double alpha,
double beta)
Calculates polynomials.
Parameters:
n - the n value
alpha - the alpha value
beta - 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 value
alpha - the alpha value
beta - the beta value
Returns:
the result