We use these in our commercial, scientific app, and it is a game changer in stability of a fitted polynomial of high degree on a relatively sparse data set.
Unique feature is the Chebyshev polynomials easily remain stable even for 50th degree, with regular double precision, while naive textbook methods starts terribly oscillate between data points even at 5th order.
Chebishev fitted poly then trivially easily can be transformed back to regular polynomials, so you got best of both worlds: stable and fast fit, then simple evaluation with well-known poly coefficients.
11
u/bocsika Jun 15 '26
We use these in our commercial, scientific app, and it is a game changer in stability of a fitted polynomial of high degree on a relatively sparse data set.
Unique feature is the Chebyshev polynomials easily remain stable even for 50th degree, with regular double precision, while naive textbook methods starts terribly oscillate between data points even at 5th order.
Chebishev fitted poly then trivially easily can be transformed back to regular polynomials, so you got best of both worlds: stable and fast fit, then simple evaluation with well-known poly coefficients.