NLAlib.chebyshevCoeff
Library ยท def
The full coefficient is a_k=\frac{2-\mathbf{1}_{k=0}}{\pi}\int_0^\pi f(\cos\theta)\cos(k\theta)\,d\theta. [Trefethen2019, Theorem 3.1, Eqs. (3.11)โ(3.12)], after cosine substitution, generalized to RCLike values. Each weighted integrand has its own Bochner integrability condition; its integral is zero when nonintegrable. Nonintegrability of the unweighted pullback does not force every coefficient to vanish. No reconstruction is asserted for arbitrary functions.
NLAlib.chebyshevCoeff.{u_1} {๐ : Type u_1} [RCLike ๐] (f : โ โ ๐) (k : โ) : ๐Import NLAlib.Polynomial.Approximation.ChebyshevCoefficients.