odin
odin copied to clipboard
Allow initial(.) on the rhs
Should be possible to write things like:
deriv(x) <- exp(-(x - initial(x)^2)
given we always store the conditions. This will save having to route through a separate variable:
ix <- ...
initial(x) <- ix
deriv(x) <- exp(-(x - ix)^2)
Also,
initial(t)
should work as we keep that too
xref #5