Not as far as I know. The whole indexed object stuff in SymPy right now is a little shaky, so there's the question of what it would even do as far as converting x to x[i].
But if all it is is converting a Derivative into some expression, couldn't the whole thing be done with a single call to .replace()? I suppose things get a little more tricky than that for higher order derivatives, but not by much. Aaron Meurer On Tue, Feb 26, 2013 at 9:11 PM, smichr <[email protected]> wrote: > Something I would expect a CAS to do if it supports derivatives is to be > able to generate different difference equations, e.g. Derivative(f(x), > x).as_cfd() -> f(x[i+1]) - f(x[i-1]))/(x[i+1] - x[i-1]). Do we have anything > like that? Anyone doing FD simulations would benefit from such capabilities, > I would think. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
