#8972: Inversion and fraction fields for power series rings
--------------------------+-------------------------------------------------
   Reporter:  SimonKing   |       Owner:  AlexGhitza                       
       Type:  defect      |      Status:  needs_review                     
   Priority:  major       |   Milestone:  sage-4.4.2                       
  Component:  algebra     |    Keywords:  power series ring, fraction field
     Author:  Simon King  |    Upstream:  N/A                              
   Reviewer:              |      Merged:                                   
Work_issues:              |  
--------------------------+-------------------------------------------------

Comment(by SimonKing):

 Replying to [comment:14 SimonKing]:
 > I will have a closer look at sqrt - perhaps I'll find something.

 It seems so.

 First, the reason why the old version failed for a power series over ZZ is
 the fact that the invert method raises an error if the result has
 coefficients in QQ rather than ZZ. I guess this must change.

 Second, there is a division inside the sqrt method. By my patch, this
 division returns a Laurent series, which slows things slightly down. If I
 do ``a*s.__invert__()`` instead of ``a/s`` then the timings are as good as
 with the old code.

 So, there will soon be a third patch...

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