-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unreasonable number of Chebyshev coefficients required to approximate certain Gaussians #777
Comments
This indicates that the approximation didn't converge (not entirely sure why). I'll try to look into this. |
I have noticed similar behavior with abs if you try to use the constructor by passing in a function. If , instead you create a Fun for x on your domain and then write your desired Fun in terms of x, all is well. This should help to narrow down the problem? Here is an example:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following function requires north of 2 million Chebyshev coefficients to represent:
Fun(x -> exp(-12(x + 4.9)^2), Chebyshev(-12..12))
This is in contrast to the function's "neighbors", see as follows:
The text was updated successfully, but these errors were encountered: