Closed
Description
Question❓
With things in MTK changing, it is a bad idea to rely on internals. Indeed, in DynamicalSystems.jl we attempt to extract a symbolic/generated Jacobian if the system is a result of an MTK build. Originally we were doing:
if prob.f isa SciMLBase.AbstractDiffEqFunction && !isnothing(prob.f.jac)
J = prob.f.jac
but this no longer works. Is there already, or can you add if not, a programmatic way (API function) to obtain the Jacobian function J
so that one can call J(u, p, t)
(or J!(J0, u, p, t)
for inplace)?