#14496: unify the three implementations of gaussian q-binomial coefficients
-------------------------------------+--------------------------------------
       Reporter:  chapoton           |         Owner:  tbd       
           Type:  task               |        Status:  needs_info
       Priority:  major              |     Milestone:  sage-5.10 
      Component:  combinatorics      |    Resolution:            
       Keywords:  gaussian binomial  |   Work issues:            
Report Upstream:  N/A                |     Reviewers:            
        Authors:  Frédéric Chapoton  |     Merged in:            
   Dependencies:                     |      Stopgaps:            
-------------------------------------+--------------------------------------

Comment (by chapoton):

 Here is a new patch

 * using the minimum of k and n-k in the naive algo

 * implementing the following strategy :

 if n <= 70 or k <= N/4 or q is not a polynomial, use the naive algo

 otherwise use the cyclotomic algo

 I have found this strategy using some timings (I only timed the polynomial
 case).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14496#comment:12>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to