Aaron S. Meurer wrote:
>> Shouldn't it return 1?
The quote I posted takes the approach that the divisor is the number that
divides both and still gives an integer, so our gcd and current primitive
method (soon to be changed) is consistent with that notion.
>>> R=Rational;gcd(R(2,3),R(4,9))
2/9
The primitive function in polys doesn't advertise (and doesn't do) a removal of
the gcd...it should clearly state that, I think, or be changed to do so. I will
have to defer to those that know what primitive is suppose to mean.
--
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.