#10312: very slow matrix construction or block_matrix
--------------------------------------+---------------------------
Reporter: monniaux | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone:
Component: linear algebra | Resolution:
Keywords: matrix constructor | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Dependencies:
Stopgaps: |
--------------------------------------+---------------------------
Comment (by zimmerma):
indeed with Sage 5.9 I get on a AMD Phenom(tm) II X2 B55 with the code in
the description:
{{{
50 0.028002 0.012001
100 0.120007 0.036002
150 0.15601 0.052003
200 0.188012 0.076005
250 0.220014 0.092005
300 0.31202 0.116007
350 0.360023 0.128008
400 0.400025 0.15601
450 0.424026 0.16001
500 0.532033 0.200013
550 0.584036 0.200013
600 0.608038 0.236015
650 0.620038 0.240015
700 0.752047 0.276018
750 0.820051 0.260016
800 0.752047 0.31202
850 0.988061 0.30802
900 0.928058 0.348021
950 0.964061 0.336021
1000 1.092068 0.388024
}}}
It is still slower than assigning the lines one per one, but quasi linear
now.
David, please could you provide code for the sparse and block matrices?
Paul
--
Ticket URL: <http://trac.sagemath.org/ticket/10312#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.