You can use with evaluate(False): In [11]: with evaluate(False): ....: print(x - sin(x - x)) ....: x - sin(-x + x)
Aaron Meurer On Fri, Oct 7, 2016 at 3:29 PM, Robert Lee <[email protected]> wrote: > I want the ability to be able to recursively pass flags like evaluate=False > through all the sub-expressions. Is this currently possible? The best hack I > have is actually going through and reforming each sub-expression recursively > and setting the appropriate flags. > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/2a4ab16d-7eef-42e7-94ec-bad9c62aadf3%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6KcddSjb7FPd%3Djfu-QF-EG7edhCwHxCU6s55TyV7ie9fw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
