-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Not quite sure what to gain here, but at the very least the dependency could be more lightweight.
The part that would be changed is this one:
ProbNumDiffEq.jl/src/initialization/taylormode.jl
Lines 35 to 49 in 70b6d57
| """ | |
| Compute initial derivatives of an IIP ODEProblem with TaylorIntegration.jl | |
| """ | |
| function taylormode_get_derivatives(u, f::SciMLBase.AbstractODEFunction{true}, p, t, q) | |
| tT = Taylor1(typeof(t), q) | |
| tT[0] = t | |
| uT = similar(u, Taylor1{eltype(u)}) | |
| @inbounds @simd ivdep for i in eachindex(u) | |
| uT[i] = Taylor1(u[i], q) | |
| end | |
| duT = zero(uT) | |
| uauxT = similar(uT) | |
| TaylorIntegration.jetcoeffs!(f, tT, uT, duT, uauxT, p) | |
| return [evaluate.(differentiate.(uT, i)) for i in 0:q] | |
| end |
Currently I'm not sure how to best get exactly this functionality from TaylorDiff.jl. If you do, please comment!
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed