Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 2275 by [email protected]: is_upper and is_lower should imply
that the matrix is square
http://code.google.com/p/sympy/issues/detail?id=2275
I assume upper and lower are short forms for upper triangular matrix and
lower triangular matrix.
If that is the case, then A.is_upper should either return False or an
Error, when A is not square. In my opinion, it should return False.
Currently,
In [53]: A = Matrix((1,2,3))
In [54]: A
Out[54]:
⎡1⎤
⎢ ⎥
⎢2⎥
⎢ ⎥
⎣3⎦
In [55]: A.is_lower()
Out[55]: True
Opinions ?
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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/sympy-issues?hl=en.