Open anandijain opened 3 years ago
@ChrisRackauckas mentioned InfiniteArrays.jl. The InfiniteArrays notation looks nice. Having ModelingToolkit just allow infinite array variables X[1:Inf]
that could be indexed in equations like X[i]
would be the main feature that is needed. Then one could have abstract equations in an "infinite" ODE system like
Dt X[i] ~ X[i+1] - X[i]
,
with i \in 0..Inf
(potentially with BCs or special equations at i=0
), and then build methods to convert such infinite systems to finite ODESystems
via truncation and such. Similarly, one could consider symbolic transforms on top of such systems (like the moment generating function) to derive alternative representations.
Longer term project