OK, now I see that it just factors it, not puts it in the content.  So
it's only bad in the sense the it probably doesn't belong in that
particular part of the code.

Aaron Meurer

2011/12/12 Ondřej Čertík <[email protected]>:
> On Sun, Dec 11, 2011 at 7:34 PM, Chris Smith <[email protected]> wrote:
>> On Mon, Dec 12, 2011 at 4:54 AM, Aaron Meurer <[email protected]> wrote:
>>> Some better information about this is at
>>> http://planetmath.org/encyclopedia/ContentOfPolynomial.html.
>>>
>> I'm not trying to factor numbers algebraically, just remove a common
>> radical in the same way that content factors out a rational so
>> `sqrt(2)+sqrt(10)` -> `sqrt(2)*(1 + sqrt(5))` and `sqrt(2) + sqrt(2 +
>> 2*x)` -> sqrt(2)*(1 + sqrt(1 + x))`
>
> Exactly. That seems fine to me, given the (not so complex) patch.
>
> Ondrej
>
> --
> 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.
>

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