On Thu, Apr 17, 2008 at 10:45 AM, Friedrich Hagedorn [EMAIL PROTECTED] wrote:
Hello again,
I have one more task for subs. Supose one have a term and a function
like this:
In [1]: fxy = f(x) + f(y)
In [2]: g = Lambda(x, x + x**2)
And now I want to do easily
In [4]: fxy.subs(f,
Hello again,
I have one more task for subs. Supose one have a term and a function
like this:
In [1]: fxy = f(x) + f(y)
In [2]: g = Lambda(x, x + x**2)
And now I want to do easily
In [4]: fxy.subs(f, g)
Out[4]: f(x) + f(y)
But I must do the cumbersone way
In [3]: fxy.subs(f(x),