#15104: Special case modn_dense matrix operations to improve performance
-------------------------------------+-------------------------------------
Reporter: nbruin | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.2
Component: linear algebra | Resolution:
Keywords: | Merged in:
Authors: Nils Bruin, Simon | Reviewers:
King | Work issues: regression in
Report Upstream: N/A | right_kernel_matrix
Branch: | Commit:
u/SimonKing/ticket/15104 | 0f008f9266e3ed6fbd67e7f3d357474825bdb160
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Aha! I can reproduce it when I do
{{{
sage: M=matrix(GF(5),6,6,range(36))
sage: for i in range(1000):
....: N = M.right_kernel_matrix(basis='computed')
....: del N
....:
}}}
But when doing `M = random_matrix(GF(5),10,7)` then the cache problem gets
fixed---permanently. Hence, redefining M again by
`M=matrix(GF(5),6,6,range(36))` does not make the problem re-appear.
It seems that the `matrix` function somehow manages to work around the
cache for vector space categories. Odd.
--
Ticket URL: <http://trac.sagemath.org/ticket/15104#comment:25>
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.