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
The underlying Fortran library doesn't allow for integrating an arbitrary function like integrate(spl, a, b, (x) -> x^2). But you could apply this function before creating the spline, like spl = Spline1D(x, y^2) rather than spl = Spline1D(x, y).
I think integrate and derivative on a ParametricSpline are the integral and derivative in each dimension, with respect to the curve parameter. So a curve through N dimensional space will have an integral that is a length N vector. Is that right @bshall?
Would it be hard to allow for integration of a function of the spline?
For example
And then one integrates the square of the spline values.
The text was updated successfully, but these errors were encountered: