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
Feature request:
Based on the package design, it seems like it is probably possible to calculate the first n derivatives of a function at once (with one call).
Right now to get that out probably requires using internal details. It would be nice to have an API to return the value and the first n derivatives at once (in a tuple or vector). It would also be nice to have an example in the docs.
The text was updated successfully, but these errors were encountered:
Yes, that is definitely helpful. Right now, interfaces are like
@inlinefunctionderivative(f, x, l, vN::Val{N}) where {N}
t =make_taylor(x, l, vN)
returnextract_derivative(f(t), N)
end
where make_taylor construct the seeds, f(t) get all derivative from order 0 ~ N, and extract_derivative extract the N-th order. Did you mean returning f(t), which is a Taylor polynomial or array of polynomials, directly?
Feature request:
Based on the package design, it seems like it is probably possible to calculate the first n derivatives of a function at once (with one call).
Right now to get that out probably requires using internal details. It would be nice to have an API to return the value and the first n derivatives at once (in a tuple or vector). It would also be nice to have an example in the docs.
The text was updated successfully, but these errors were encountered: