#5369: [with patch, needs review] Optimize transpose for matrix_integer_dense
and
matrix_rational_dense
----------------------------+-----------------------------------------------
Reporter: ylchapuy | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.4.1
Component: linear algebra | Keywords: transpose
----------------------------+-----------------------------------------------
Comment(by ylchapuy):
I did only one ticket for both as they are both gmp based.
I mostly copied the logic used in the __copy__ function (by the way I also
simplified the __copy__ function in matrix_rational_dense.pyx)
timings (wall time) for
{{{
m=identity_matrix(3000);
time m2=m.transpose(); m3=m.antitranspose();
}}}
* sage 3-3: 15.44
* with #5345: 3.38
* with this patch: 2.01
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5369#comment:1>
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
-~----------~----~----~----~------~----~------~--~---