#2508: Problem converting a Laurent Series from pari to Sage
------------------------------+---------------------------------------------
   Reporter:  cremona         |       Owner:  jdemeyer            
       Type:  defect          |      Status:  new                 
   Priority:  major           |   Milestone:  sage-4.6            
  Component:  interfaces      |    Keywords:  Laurent series, pari
     Author:  Jeroen Demeyer  |    Upstream:  N/A                 
   Reviewer:                  |      Merged:                      
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by jdemeyer):

 Note also that the answer wrongly gets more terms:
 {{{
 sage: E = EllipticCurve('11a1')
 sage: R = LaurentSeriesRing(RationalField(),'q')
 sage: XY = E.pari_mincurve().elltaniyama()
 sage: XY[0]
 x^-2 + 2*x^-1 + 4 + 5*x + 8*x^2 + x^3 + 7*x^4 - 11*x^5 + 10*x^6 - 12*x^7 -
 18*x^8 - 22*x^9 + 26*x^10 - 11*x^11 + 41*x^12 + 44*x^13 - 15*x^14 +
 O(x^15)
 sage: E.modular_parametrization().power_series()[0]
 q^-2 + 2*q^-1 + 4 + 5*q + 8*q^2 + q^3 + 7*q^4 - 11*q^5 + 10*q^6 - 12*q^7 -
 18*q^8 - 22*q^9 + 26*q^10 - 11*q^11 + 41*q^12 + 44*q^13 - 15*q^14 +
 19746*q^15 + 51565*q^16 + 150132*q^17 + O(q^18)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2508#comment:6>
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