Adomian polynomials

Hi Everyone,

I’d like to solve some ODEs using Adomian decomposition (which opens up approaches to model distributed delays, etc.) for a repository of epidemiological models: https://github.com/epirecipes/sir-julia/issues/54

I’ve looked around but can’t find any code to generate Adomian polynomials - if there isn’t any, which package(s) should I build this from? It’s fairly straightforward to find Maple and Mathematica code (a couple of examples are in the issue).

Best wishes
Simon

1 Like

I don’t know of any code for it, but it wouldn’t be too hard to code up with Symbolics.jl. This would be a nice function to have in ModelingToolkit.jl.

1 Like

Thanks anyway! I wasn’t sure whether such code ‘belonged’ with Polynomials.jl, ApproxFun.jl or Symbolics.jl.