#9944: categories for polynomial rings
--------------------------------------------+-------------------------------
    Reporter:  robertwb                     |         Owner:  nthiery           
                         
        Type:  defect                       |        Status:  needs_work        
                         
    Priority:  major                        |     Milestone:  sage-4.7.1        
                         
   Component:  categories                   |    Resolution:                    
                         
    Keywords:                               |   Work_issues:                    
                         
    Upstream:  N/A                          |      Reviewer:  Nicolas M. 
ThiƩry, Mike Hansen, Martin Raum
      Author:  Robert Bradshaw, Simon King  |        Merged:                    
                         
Dependencies:                               |  
--------------------------------------------+-------------------------------

Comment(by SimonKing):

 The original implementation of a polynomial basering injection relies on a
 method `_new_constant_poly`, which turns out to be rather slow in most
 cases except the case of dense univariate polynomials -- they have a
 custom version of `_new_constant_poly`, while the others rely on a generic
 implementation.

 So, instead of my former suggestion ("use `one._rmul_(x)` to coerce x into
 P with `one = P.one_element()`), it may be better to provide the other
 polynomial classes with a faster implementation of `_new_constant_poly`.
 That's what I am trying now.

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