#5570: [with patch, positive review] determinants of matrices over Z/nZ with n
composite are dog slow
----------------------------+-----------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: closed
Priority: major | Milestone: sage-3.4.1
Component: linear algebra | Resolution: fixed
Keywords: |
----------------------------+-----------------------------------------------
Changes (by mabshoff):
* cc: mvngu (added)
Comment:
The numbers for the improvement in the Sage 3.4.1 release tour are
*completely* wrong:
{{{
----------------------------------------------------------------------
| Sage Version 3.4, Release Date: 2009-03-11 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: a = random_matrix(Integers(26), 10)
sage: time a.determinant()
CPU times: user 8.07 s, sys: 0.02 s, total: 8.09 s
Wall time: 8.11 s
3
sage: b = random_matrix(Integers(256), 10)
sage: time b.determinant()
CPU times: user 7.98 s, sys: 0.01 s, total: 7.99 s
Wall time: 7.98 s
0
}}}
vs.
{{{
----------------------------------------------------------------------
| Sage Version 3.4.1.alpha0, Release Date: 2009-03-26 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: a = random_matrix(Integers(26), 10)
sage: time a.determinant()
CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
Wall time: 0.01 s
7
sage: b = random_matrix(Integers(256), 10)
sage: time b.determinant()
CPU times: user 0.01 s, sys: 0.00 s, total: 0.01 s
Wall time: 0.00 s
89
}}}
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5570#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
-~----------~----~----~----~------~----~------~--~---