NLA-lib Explorer

NLAlib.chebyshevCoeff_sum_smul_T

Library ยท theorem

Canonical coefficients of a finite Chebyshev expansion are its basis coordinates. This finite-linearity consequence of [Trefethen2019, Exercise 3.7] extends the basis orthogonality to RCLike coefficients. Polynomial continuity supplies the integrability hypotheses.

NLAlib.chebyshevCoeff_sum_smul_T.{u_1} {๐•œ : Type u_1} [RCLike ๐•œ] (c : โ„• โ†’ ๐•œ) (s : Finset โ„•)
  (k : โ„•) :
  chebyshevCoeff (fun x โ†ฆ Polynomial.eval (โ†‘x) (โˆ‘ j โˆˆ s, c j โ€ข Polynomial.Chebyshev.T ๐•œ โ†‘j)) k =
    โˆ‘ j โˆˆ s, c j * if j = k then 1 else 0

Full source on GitHub

Import NLAlib.Polynomial.Approximation.ChebyshevCoefficients.