Hi,

x = polygen(<ring>) returns an object of type
Polynomial_generic_dense, while <ring>.inject_variables() injects x of
type Polynomial_rational_dense.

Why the difference?

This was a problem for a student today, who was using polygen(), whose
returnee will not simplify x^3/x^2, whereas inject_variables() did.

regards
john perry
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to