Is there anyway I can replace functions without bothering about the 
functional arguments? I mean say I have an expression like:

expr=tan(x) + tan(y)

I want to be able to do something like :

expr.subs(tan(),sin()/cos())

,to get:

sin(x)/cos(x) + sin(y)/cos(y)

,so that the respective functional arguments are substituted for 
automatically.

Akshay



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to