Hey,
Following up from some JuliaCon comments. The expression-based API is interesting, but I was thinking you should add a macro-based API on top of it. Essentially:
de = @ode_system begin
x2
u1 - 1.625
end
can create de=[:(x2[j]),:(u1[j]-1.625)] and it would be more natural than the user defining these themselves. It would also hide the implementation detail of the [j]. The lower level API using arrays of expressions would still exist for more advanced users to programmatically create expressions.
Hey,
Following up from some JuliaCon comments. The expression-based API is interesting, but I was thinking you should add a macro-based API on top of it. Essentially:
can create
de=[:(x2[j]),:(u1[j]-1.625)]and it would be more natural than the user defining these themselves. It would also hide the implementation detail of the[j]. The lower level API using arrays of expressions would still exist for more advanced users to programmatically create expressions.