Updates:
Status: Started
Owner: mattpap
Labels: -NeedsBetterPatch NeedsReview Milestone-Release0.7.0
Comment #9 on issue 1801 by mattpap: igcd and ilcm could handle rationals
http://code.google.com/p/sympy/issues/detail?id=1801
btw2. It is now also possible to use gcd() and lcm() from polys11 for this,
e.g.:
In [1]: gcd(S(4)/3, 2)
Out[1]: 2/3
In [2]: gcd([S(4)/3, 2, 6, S(12)/7])
Out[2]: 2/21
In [3]: lcm(S(4)/3, 2)
Out[3]: 4
(they will fall back to Number.gcd() or Number.lcm())
--
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.