NLA-lib Explorer

NLAlib.chebyshevTrunc

Library ยท def

The degree-N Chebyshev truncation is p_N=\sum_{k=0}^N a_kT_k, with the full coefficients chebyshevCoeff, including the unhalved constant term. [Trefethen2019, Eq. (4.3)], generalized to RCLike values. At N=0 it is the constant coefficient. For arbitrary functions it is a total finite polynomial, without any unconditional reconstruction claim; each coefficient retains its own Bochner-integral convention.

NLAlib.chebyshevTrunc.{u_1} {๐•œ : Type u_1} [RCLike ๐•œ] (f : โ„ โ†’ ๐•œ) (N : โ„•) : Polynomial ๐•œ

Full source on GitHub

Import NLAlib.Polynomial.Approximation.ChebyshevTruncation.