You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Interpolations
xs =-pi:2pi/20:pi
itp =interpolate(sin(xs), BSpline(Quadratic(Periodic)), OnGrid)
using Gadfly
plot(x=xs, y=[gradient(itp,x)[1] for x in xs], Geom.path)
I think we ought to be able to do better than this at the edges:
Just to make sure that this is related to edge-proximity, and not to the fact that the function tends to 0 in this specific case, I tested with the boundaries at [-3pi/4, 5pi/4] too, with similar results:
I'll see if I can do some troubleshooting, but I'm putting this up here to indicate that we at least know about the problem.
The text was updated successfully, but these errors were encountered:
Given the following,
I think we ought to be able to do better than this at the edges:
Just to make sure that this is related to edge-proximity, and not to the fact that the function tends to 0 in this specific case, I tested with the boundaries at
[-3pi/4, 5pi/4]
too, with similar results:I'll see if I can do some troubleshooting, but I'm putting this up here to indicate that we at least know about the problem.
The text was updated successfully, but these errors were encountered: