Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 2745 by [email protected]: should cancel expand exp?
http://code.google.com/p/sympy/issues/detail?id=2745

In the following I think I would prefer if cancel didn't expand the out exp:


    >>> eq
    exp((a*c + a*(b + 2) + c*(b + 2))/(a*c*(b + 2))) - 3
    >>> cancel(eq)
exp(2/(a*(b + 2)))*exp(2/(c*(b + 2)))*exp(b/(a*(b + 2)))*exp(b/(c*(b + 2)))*exp(1/(b + 2)) - 3

Perhaps it could just have returned exp(...the cancelled arg...) - 3

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

Reply via email to