#5557: [with patch, positive review] implement ridiculously fast 4x4 determinant
----------------------------+-----------------------------------------------
 Reporter:  boothby         |       Owner:  was       
     Type:  enhancement     |      Status:  new       
 Priority:  minor           |   Milestone:  sage-3.4.1
Component:  linear algebra  |    Keywords:            
----------------------------+-----------------------------------------------

Comment(by was):

 Answering my question, on my computer with your code:
 {{{
 sage: M = S.random_element(1,10^8)
 sage: timeit('M.det();M._clear_cache()')
 625 loops, best of 3: 8.82 µs per loop
 sage:
 sage: M = S.random_element(1,10^10)
 sage: timeit('M.det();M._clear_cache()')
 625 loops, best of 3: 9.86 µs per loop
 sage: M = S.random_element(1,10^200)
 sage: timeit('M.det();M._clear_cache()')
 625 loops, best of 3: 49.8 µs per loop
 sage: M = S.random_element(1,10^300)
 sage: timeit('M.det();M._clear_cache()')
 625 loops, best of 3: 92.2 µs per loop
 sage: M = S.random_element(1,10^1000)
 sage: timeit('M.det();M._clear_cache()')
 625 loops, best of 3: 585 µs per loop
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5557#comment:6>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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