#9941: faster multinomial_coefficients
--------------------------------+-------------------------------------------
Reporter: pernici | Owner: AlexGhitza
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.6
Component: basic arithmetic | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
With the attached patch multinomial_coefficients(m,n) becomes faster
than the unpatched version as m increases
Sage-4.5.1
sage: %timeit w = multinomial_coefficients(int(20),int(5))
5 loops, best of 3: 4.91 s per loop
with patch:
sage: %timeit w = multinomial_coefficients(int(20),int(5))
5 loops, best of 3: 1.05 s per loop
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9941>
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.