"sage: factor(n)" should only reduce input over the integers.

sage: factor(2*x^2 + x + 1)
(2) * (x^2 + 1/2*x + 1/2)
sage: factor(2*x^2 + x + 2)
(2) * (x^2 + 1/2*x + 1)
sage: factor(2*x^2 + x + 3)
(2) * (x^2 + 1/2*x + 3/2)
sage: factor(2*x^2 + x + 4)
(2) * (x^2 + 1/2*x + 2)

Is there a function in SAGE or one of the components that reduces
polynomials only over the integers?


--~--~---------~--~----~------------~-------~--~----~
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/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to