...
> other is f(y) = f(2*x**2).
>
> So I think that when I change the independent variable like this, I
> should also change the name of the function. What would be the best
> way to do that?

The whole thing or just this:


>>> f(x).subs(f, g)
g(x)
>>> f(x).replace(f,g)
g(x)
>>> f(x).xreplace({f:g})
f(x)

-- 
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.

Reply via email to