public final class ChebyshevDecompositionEngine extends Object
UnivariateFunction by a Chebyshev polynomial.
Important notice: two conventions exist for defining Chebyshev polynomials:
| Modifier and Type | Method and Description |
|---|---|
static PolynomialChebyshevFunction |
approximateChebyshevFunction(UnivariateFunction fct,
int degree,
double start,
double end,
int nbNodes)
Approximate the given
function by a Chebyshev polynomial of the given degree on the
specified range [start ; end]. |
static PolynomialChebyshevFunction |
interpolateChebyshevFunction(double start,
double end,
double[] values)
Interpolate the values of a f function defined at the Chebyshev abscissas by a Chebyshev
polynomial on the specified range [start ; end].
|
static PolynomialChebyshevFunction |
interpolateChebyshevFunction(UnivariateFunction fct,
int degree,
double start,
double end)
Interpolate the given
function by a Chebyshev polynomial on the specified range
[start ; end]. |
public static PolynomialChebyshevFunction approximateChebyshevFunction(UnivariateFunction fct, int degree, double start, double end, int nbNodes)
function by a Chebyshev polynomial of the given degree on the
specified range [start ; end].
The approximation is done by interpolation if the given number of nodes is smaller or equal to the degree+1 and
by fitting otherwise.fct - Function to interpolatedegree - Chebyshev polynomial degreestart - Start intervalend - End intervalnbNodes - Number of nodesNullArgumentException - if fct is nullNotPositiveException - if degree < 0MathIllegalArgumentException - if start >= endpublic static PolynomialChebyshevFunction interpolateChebyshevFunction(UnivariateFunction fct, int degree, double start, double end)
function by a Chebyshev polynomial on the specified range
[start ; end].fct - Function to interpolatedegree - Chebyshev polynomial degreestart - Start intervalend - End intervalNullArgumentException - if fct is nullNotPositiveException - if degree < 0MathIllegalArgumentException - if start >= endpublic static PolynomialChebyshevFunction interpolateChebyshevFunction(double start, double end, double[] values)
start - Start rangeend - End rangevalues - Values of the function to interpolate defined at the Chebyshev abscissasNullArgumentException - if values is nullNoDataException - if values is emptyMathIllegalArgumentException - if start >= endCopyright © 2025 CNES. All rights reserved.