#5201: make solve understand matrix equations
---------------------------+------------------------------------------------
Reporter: jason | Owner: burcin
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.7
Component: calculus | Keywords: beginner
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by ryan):
Could this be accomplished by overriding the comparison operator for the
matrix class?
for example
{{{
#!python
def __richcmp__(self, other_matrix, cmptype):
if cmptype == 2: #this is the '==' operator
if is_Matrix(other_matrix):
if False in [i==j for i,j in zip(self.list(), other_matrix.list())]:
return False
else: return True
}}}
I'm just not sure where the 'matrix class' is. This would allow
comparisons like
{{{
sage: matrixA == matrixB
True
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5201#comment:4>
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.