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
I want to solve a set of ODEs where one of the parameters is a step function with prescribed times at which it can jump. What would be the recommended way of implementing something like that with sunode?
Activity
LSchueler commentedon Feb 15, 2022
Any updates on this? Or on this page?
makaspacex commentedon Dec 21, 2022
I solve this problem by python closure. The demo codes are as follows:
Now, func1 has local and bind variable prescribed_times_func1 which value is 5, while it is prescribed_times_func2 in func2.