public class PolynomialsUtils extends Object
Modifier and Type | Method and Description |
---|---|
static PolynomialFunction |
createChebyshevPolynomial(int degree)
Create a Chebyshev polynomial of the first kind.
|
static PolynomialFunction |
createHermitePolynomial(int degree)
Create a Hermite polynomial.
|
static PolynomialFunction |
createJacobiPolynomial(int degree,
int v,
int w)
Create a Jacobi polynomial.
|
static PolynomialFunction |
createLaguerrePolynomial(int degree)
Create a Laguerre polynomial.
|
static PolynomialFunction |
createLegendrePolynomial(int degree)
Create a Legendre polynomial.
|
static double[] |
shift(double[] coefficients,
double shift)
Compute the coefficients of the polynomial
x will be the same as the those from the
original polynomial x + shift . |
public static PolynomialFunction createChebyshevPolynomial(int degree)
Chebyshev polynomials of the first kind are orthogonal polynomials. They can be defined by the following recurrence relations:
degree
- degree of the polynomialpublic static PolynomialFunction createHermitePolynomial(int degree)
Hermite polynomials are orthogonal polynomials. They can be defined by the following recurrence relations:
degree
- degree of the polynomialpublic static PolynomialFunction createLaguerrePolynomial(int degree)
Laguerre polynomials are orthogonal polynomials. They can be defined by the following recurrence relations:
degree
- degree of the polynomialpublic static PolynomialFunction createLegendrePolynomial(int degree)
Legendre polynomials are orthogonal polynomials. They can be defined by the following recurrence relations:
degree
- degree of the polynomialpublic static PolynomialFunction createJacobiPolynomial(int degree, int v, int w)
Jacobi polynomials are orthogonal polynomials. They can be defined by the following recurrence relations:
degree
- degree of the polynomialv
- first exponentw
- second exponentpublic static double[] shift(double[] coefficients, double shift)
x
will be the same as the those from the
original polynomial x + shift
.
More precisely, let shift
and let
coefficients
- Coefficients of the original polynomial.shift
- Shift value.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.