seemps.analysis.chebyshev.estimate_order#
- seemps.analysis.chebyshev.estimate_order(func, start=-1, stop=1, domain=None, tolerance=2.220446049250313e-16, initial_order=2, max_order=4096)[source]#
Returns an estimation of the number of Chebyshev coefficients required to achieve a given accuracy such that the last pair of coefficients fall below a given tolerance, as they theoretically bound the maximum error of the expansion.
Notes
The coefficients are evaluated in pairs because even and odd functions respectively
have vanishing even and odd coefficients.