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

New issue 2746 by [email protected]: simplify should not try to remove all radicals
http://code.google.com/p/sympy/issues/detail?id=2746

In general, removing a radical from the denominator is not going to make an expression simpler:

    >>> eq=1/(3 + sqrt(y))
    >>> simplify(eq)
    (-sqrt(y) + 3)/(-y + 9)
    >>> count_ops(_)
    5
    >>> count_ops(eq)
    4

But for a single radical containing term added to a Number or Number*I the new expression is more 'standard' and in that sense might be considered simpler. I think the intent was to remove numbers like `1 + sqrt(3)` from the denominator. Making that constraint doesn't cause any tests to fail and everything runs faster.


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