public class PolynomialChebyshevFitter extends CurveFitter<PolynomialChebyshevFunction>
curve fitting.
The estimated coefficients are the Chebyshev polynomial coefficients (see the fit method).| Constructor and Description |
|---|
PolynomialChebyshevFitter(double start,
double end,
MultivariateVectorOptimizer optimizer)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
fit(double[] guess)
Get the coefficients of the Chebyshev polynomial fitting the weighted data points.
|
double[] |
fit(int maxEval,
double[] guess)
Get the coefficients of the Chebyshev polynomial fitting the weighted data points.
|
addObservedPoint, addObservedPoint, addObservedPoint, clearObservations, fit, fit, getObservationspublic PolynomialChebyshevFitter(double start,
double end,
MultivariateVectorOptimizer optimizer)
start - Start rangeend - End rangeoptimizer - Optimizer to use for the fittingMathIllegalArgumentException - if start >= endpublic double[] fit(int maxEval,
double[] guess)
guess.length - 1.guess - First guess for the coefficients. They must be sorted in increasing order of the polynomial's degree.maxEval - Maximum number of evaluations of the polynomialTooManyEvaluationsException - if the number of evaluations exceeds maxEvalConvergenceException - if the algorithm failed to convergepublic double[] fit(double[] guess)
guess.length - 1.guess - First guess for the coefficients. They must be sorted in increasing order of the polynomial's degree.ConvergenceException - if the algorithm failed to converge.Copyright © 2024 CNES. All rights reserved.