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(double start,
double end,
double[] values)
Approximate the values of a f function defined at the Chebyshev abscissas by a Chebyshev
polynomial on the specified range [start ; end].
|
static PolynomialChebyshevFunction |
approximateChebyshevFunction(UnivariateFunction fct,
int maxDegree,
double start,
double end)
Approximate the given
function by a Chebyshev polynomial on the specified range
[start ; end]. |
public static PolynomialChebyshevFunction approximateChebyshevFunction(UnivariateFunction fct, int maxDegree, double start, double end)
function by a Chebyshev polynomial on the specified range
[start ; end].fct - Function to approximatemaxDegree - Maximum Chebyshev polynomial degree (can be lower after the truncation of insignificant coefficients
terms)start - Start intervalend - End intervalNullArgumentException - if values is nullNotPositiveException - if degree < 0MathIllegalArgumentException - if start >= endpublic static PolynomialChebyshevFunction approximateChebyshevFunction(double start, double end, double[] values)
start - Start rangeend - End rangevalues - Values of the function to approximate defined at the Chebyshev abscissasNullArgumentException - if values is nullNoDataException - if values is emptyMathIllegalArgumentException - if start >= endCopyright © 2022 CNES. All rights reserved.