We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In lecture16, here are several codes: S₀ = I : Chebyshev() → Ultraspherical(1) f = Fun(exp, Chebyshev()) g = S₀*f g(4) - exp(4)
I found the error when I run it: UndefVarError: I not defined
Stacktrace: [1] top-level scope at In[84]:1
Then I search for solutions, referred in "JuliaApproximation/ApproxFun.jl#590 (comment)" it can change to code "Conversion(Chebyshev(), Ultraspherical(1))" instead, and it works.
However, the final result such like "g(3) - exp(3)" is equal to -20.085536923187668, not approach to zero.
The text was updated successfully, but these errors were encountered:
Try adding using LinearAlgebra
using LinearAlgebra
Sorry, something went wrong.
yes, it works, but the example seems not good?
Because you can only evaluate a function inside its domain of definition, in this case the default -1 ..1
-1 ..1
I got it!!!
No branches or pull requests
In lecture16, here are several codes:
S₀ = I : Chebyshev() → Ultraspherical(1)
f = Fun(exp, Chebyshev())
g = S₀*f
g(4) - exp(4)
I found the error when I run it:
UndefVarError: I not defined
Stacktrace:
[1] top-level scope at In[84]:1
Then I search for solutions, referred in
"JuliaApproximation/ApproxFun.jl#590 (comment)"
it can change to code "Conversion(Chebyshev(), Ultraspherical(1))" instead, and it works.
However, the final result such like "g(3) - exp(3)" is equal to -20.085536923187668, not approach to zero.
The text was updated successfully, but these errors were encountered: