#9576: Allow the operator & for submodule intersections.
------------------------------+---------------------------------------------
Reporter: fmaltey | Owner: jason, was
Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: linear algebra | Keywords: operator & for submodule
intersection
Author: fmaltey | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
There is already the operatror & for Sets intersections : S1 & S2.
There is also the operator + for submodules sum : F+G.
I propose to expand the operator & over submodules and subspaces,
and add theses lines in free_modules.py
{{{
## allow the "intersection" operator & for submodules.
def __and__ (self, other) : return self.intersection (other)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9576>
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.