Comment #2 on issue 1102 by [email protected]: _subs_dict doesn't works
with functions
http://code.google.com/p/sympy/issues/detail?id=1102
This works now:
In [1]: f, g, h, i = map(Function, 'fghi')
In [2]: xp = f(x) + g(x)
In [3]: xp.subs({f: h, g: i})
Out[3]: h(x) + i(x)
In [4]: xp.subs([[f,h],[g,i]])
Out[4]: h(x) + i(x)
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.