#9414: make the rational number field, consistent with other number fields
-----------------------------+----------------------------------------------
   Reporter:  rkirov         |       Owner:  davidloeffler          
       Type:  defect         |      Status:  new                    
   Priority:  major          |   Milestone:  sage-5.0               
  Component:  number fields  |    Keywords:  number field, rationals
     Author:                 |    Upstream:  N/A                    
   Reviewer:                 |      Merged:                         
Work_issues:                 |  
-----------------------------+----------------------------------------------
 Currently QQ behaves different than a generic number field. This forces
 number theory functions to treat QQ separately, which is inconvenient.

 {{{
 K = QQ
 I = K.ideal(7)
 }}}

 This creates ideal that does not have the functions I.denominator,
 I.numerator, I.prime_ideals() ... which a fractional ideal in a number
 field should have

 {{{
 K.<a> = NumberField(x^2+2)
 I = K.ideal(7)
 }}}

 Similarly, QQ.places() is not implemented; it should return the one
 infinite place for Q. Although there seems to be QQ.embeddings().

 {{{
 QQ.places()
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9414>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac?hl=en.

Reply via email to