Status: NeedsDecision
Owner: [email protected]
Labels: Type-Defect Priority-Medium Matrices

New issue 2291 by [email protected]: is_diagonal should not check for square
http://code.google.com/p/sympy/issues/detail?id=2291

The Matrix method is_diagonal should work with non-square matrix too.
In a way similar to how the is_upper and is_lower don't check for square.
Matrices like

[1, 0, 0, 0]
[0, 1, 0, 0]
[0, 0, 1, 0]

and

[1, 0, 0, 0]
[0, 1, 0, 0]
[0, 0, 1, 0]
[0, 0, 0, 1]
[0, 0, 0, 0]

should also be considered diagonal.

If modifying is_diagonal is not acceptable, then perhaps we can have another method with name asymmetric diagonal or something similar.

In SVD, the diagonal Matrix in the center can be non-square. That is the reason I'm putting up this issue.


--
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.

Reply via email to