Ondrej Certik wrote:
> On Sun, May 3, 2009 at 9:25 AM, Akshay Srinivasan
> <[email protected]> wrote:
>   
>> 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.
>>     
>
> See this thread:
>
> http://groups.google.com/group/sympy/browse_thread/thread/2cc19396a1097305/
>
> and this issue:
>
> http://code.google.com/p/sympy/issues/detail?id=1337
>
> so not yet, but this feature would be nice to have.
>
> Ondrej
>
> >
>   
Neat, having something like this will sure make things easier. Is 
Vinzent still working on this ?
I'll probably have to write helper functions anyway, so perhaps I could 
add it to Basic as well.

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