Thanks, gcd is more complicated than what I think. Stephen Loo於 2013年7月11日星期四UTC+8下午4時17分45秒寫道: > > Hi all, > > I found that there are many different kind of gcd in sympy different > module, such as > > sympy.core.numbers.igcd > sympy.polys.polytools.gcd > sympy.polys.polytools.gcdex > sympy.polys.polytools.gcd_list > sympy.polys.polytools.half_gcdex > > And the new one > sympy.solvers.diophantine.extended_euclid > > They calculate integer gcd or polynomial gcd. I suggest to make single > public function call, like gamma, put in integer argument and return > integer, put in polynomial argument and return polynomial. And gcd function > should not limit to 2 integer only, for example, gcd(10, 15, 20) = 5 > > Any idea? Any suggestion? > > Thanks. > >
-- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.