#10255: improve karatsuba multiplication of univariate polynomials
--------------------------------+-------------------------------------------
   Reporter:  lftabera          |       Owner:  AlexGhitza                      
     
       Type:  enhancement       |      Status:  new                             
     
   Priority:  major             |   Milestone:  sage-4.6.1                      
     
  Component:  basic arithmetic  |    Keywords:  karatsuba, multiplication, 
polynomial
     Author:                    |    Upstream:  N/A                             
     
   Reviewer:                    |      Merged:                                  
     
Work_issues:                    |  
--------------------------------+-------------------------------------------

Comment(by lftabera):

 Same example with my patch. Pure karatsuba:

 {{{
 sage: K=QQ[I][x]
 sage: f=K.random_element(1500)
 sage: g=K.random_element(1500)
 sage: %time _ = f._mul_karatsuba(g)
 CPU times: user 1.53 s, sys: 0.01 s, total: 1.54 s
 Wall time: 1.73 s
 }}}

 TODO:

 -Take a more careful look to the correctness of code.
 -Check that the changes do not introduce performance penalties on a wider
 set of rings, degrees and size of polynomials.
 -Introduce a user-definable threshold (with a sensible default for most
 common rings) for which karatsuba falls back to classic multiplication.

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