#10628: initialization of matrices from vectors or list of lists can be way
faster
------------------------------+---------------------------------------------
Reporter: mderickx | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: minor | Milestone:
Component: linear algebra | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Comment(by mderickx):
1. It adresses the complaint at 10312 partially, it's not as fast as their
suggestion. But at least a lot faster.
{{{
0 0.000539 0.000325
50 0.031196 0.026185
100 0.065819 0.051949
150 0.199419 0.080579
200 0.244128 0.108761
250 0.389423 0.137844
300 0.337158 0.165608
350 0.473639 0.194574
400 0.521386 0.220917
450 0.676239 0.249057
500 0.620335 0.277434
550 0.755271 0.307235
600 0.942296 0.333725
650 0.881207 0.364136
700 1.050021 0.393484
750 1.101895 0.4192
800 1.143609 0.447968
850 1.348676 0.476717
900 1.244891 0.504382
950 1.557877 0.534018
1000 1.497431 0.572604}}}
Didn't look at sparse matrices.
2. I didn't think about the testing, just left it as it was, since I just
wanted the code to be faster, not to behave in different way. If you have
suggestions for better testing I'm willing to add it to the patch, but
still not feeling about figuring out the best way to test myself.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10628#comment:3>
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.