#13628: refactor xgcd
------------------------------------+---------------------------------------
       Reporter:  saraedum          |         Owner:  AlexGhitza  
           Type:  task              |        Status:  needs_review
       Priority:  trivial           |     Milestone:  sage-5.5    
      Component:  basic arithmetic  |    Resolution:              
       Keywords:                    |   Work issues:              
Report Upstream:  N/A               |     Reviewers:              
        Authors:  Julian Rueth      |     Merged in:              
   Dependencies:  #13441, #13438    |      Stopgaps:              
------------------------------------+---------------------------------------

Old description:

> Currently, some classes define a _xgcd method which is called by a xgcd
> method of euclidean domain elements. Most elements already define xgcd
> directly, and I see no real use in having this method in between.
>
> The attached patch renames all _xgcd methods to xgcd and also streamlines
> the use of @coerce_binop on them.
>
> This is similar to #13441.

New description:

 Currently, some classes define a _xgcd method which is called by a xgcd
 method of euclidean domain elements. Most elements already define xgcd
 directly, and I see no real use in having this method in between.

 The attached patch renames all _xgcd methods to xgcd and also streamlines
 the use of @coerce_binop on them.

 This is similar to #13441.

 ----

 Apply

 1. [[attachment:trac_13628.2.patch]]

--

Comment (by saraedum):

 Apply only trac_13628.2.patch

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