#10752: Matrix pivots are cached, should be immutable
------------------------------+---------------------------------------------
Reporter: rbeezer | Owner: jason, was
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.7
Component: linear algebra | Keywords: matrix pivots
Author: John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Changes (by jhpalmieri):
* status: needs_work => needs_review
Comment:
Okay, here's a new patch. This should return tuples for pivots. Also,
everywhere pivots get cached, tuples should be cached, not lists. (This
way, when the cached value is retrieved, converting it to a tuple, just to
be on the safe side, is really fast: try doing {{{a = tuple(range(1000));
timeit('tuple(a)')}}}.)
All doctests pass on sage.math.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10752#comment:8>
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.