What is supposed to be the meaning of "quo" and "exquo" in the Polys? Looking
in densearith.py, I see things like this:
def dup_quo(f, g, K):
"""Returns polynomial quotient in `K[x]`. """
q, r = dup_div(f, g, K)
if not r:
return q
else:
raise ExactQuotientFailed('%s does not divide %s' % (g, f))
def dup_exquo(f, g, K):
"""Returns exact polynomial quotient in `K[x]`. """
return dup_div(f, g, K)[0]
But I would have expected the exact opposite: for quo to give be the quotient
without caring and for exquo to warn me when the quotient is not exact. So
what is the reasoning behind the current behavior?
Aaron Meurer
--
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.