#11068: Basic implementation of one- and twosided ideals of non-commutative 
rings,
and quotients by twosided ideals
----------------------------------------------------------------+-----------
   Reporter:  SimonKing                                         |       Owner:  
AlexGhitza                                 
       Type:  enhancement                                       |      Status:  
needs_work                                 
   Priority:  major                                             |   Milestone:  
sage-4.7                                   
  Component:  algebra                                           |    Keywords:  
onesided twosided ideal noncommutative ring
     Author:                                                    |    Upstream:  
N/A                                        
   Reviewer:                                                    |      Merged:  
                                           
Work_issues:  Add examples; move code from ring.py to rings.py  |  
----------------------------------------------------------------+-----------

Comment(by SimonKing):

 Replying to [comment:3 SimonKing]:
 > ...
 > I think I would be able to add this example as doc test tomorrow, also
 removing the whole ideal and quotient stuff from `sage.rings.ring.Ring` to
 `sage.categories.rings.Rings.ParentMethods`.

 Apparently it took a lot longer. The problem is "moving the whole ideal
 and quotient stuff from `sage.rings.ring.Ring` to
 `sage.categories.rings.Rings.ParentMethods`. Namely, that involves a
 couple of methods with cached output (the cache being hand-written). One
 could use the @cached_method decorator in the parent methods -- but the
 problem is that the cache breaks when one has a ring that does not allow
 attribute assignment.

 That problem is solved at #11115. Moreover, @cached_method is now
 ''faster'' than a hand-written cache in Python. However, it is slower than
 a hand-written cache in Cython.

 So, the question is: Can we accept the slow-down that would result from
 moving code from the ring class to the ring category? Or is it easier to
 accept some duplication of code?

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