I find this very confusing:

sage: F.<a> = QuadraticField(-5)
sage: F.ideal(6)
Fractional ideal (6) of Number Field in a with defining polynomial  
x^2 + 5

sage: QQ.ideal(6)
Principal ideal (1) of Rational Field

This means that if I write code that can work over an arbitrary  
number field, I have to write special cases for Q. I think it's a bad  
idea to use the name "ideal" for the method that gives an ideal of  
the ring of integers. I think we should give this a different name.

Any thoughts?

david


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to