#13417: Improved iteration on finite \ZZ-submodules and vector spaces over
finite
fields
---------------------------------------------------------+------------------
Reporter: tfeulner | Owner:
AlexGhitza
Type: enhancement | Status:
needs_review
Priority: major | Milestone:
sage-5.4
Component: algebra | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Thomas Feulner, Punarbasu Purkayastha | Merged in:
Dependencies: | Stopgaps:
---------------------------------------------------------+------------------
Comment (by ppurka):
I made a small change in the patch. The line
{{{
basis = [_p*x for _p in pows for x in basis] # a ZZ_p-basis for
the vectorspace
}}}
is changed to
{{{
basis = [_p*x for x in basis for _p in pows] # a ZZ_p-basis for
the vectorspace
}}}
Functionally the patch is unchanged, but this small change will enable me
to implement `__getitem__` for a linear code (the current implementation
of `__getitem__` is a memory hog).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13417#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 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.