On Fri, Jul 10, 2009 at 5:52 AM, Priit Laes<plaes...@gmail.com> wrote: > > Hey! > > Can someone confirm, that code below is valid and I am not abusing > anything? :) > > #!/usr/bin/python > from sympy import * > F = Function('F') > x, y, t = symbols('x y t') > a = Symbol('a', Real=True) > eq = Derivative(F(x, t), x) > pat = -33*t*x + F(x + exp(-t))
It seems to me that F is both a function of 2 variables and of one variable here? > sub = eq.subs(F(x, t), pat) > print "Fails after print?" > print sub > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---