Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium Matrices
New issue 2544 by [email protected]: Matrix(...)[i] for non-vector
matrices should not be supported.
http://code.google.com/p/sympy/issues/detail?id=2544
Matrix(...)[i] for non-vector matrices should not be supported, for i being
an index or a slice.
It is currently implemented in the Matrix class, but it doesn't seem to be
very useful.
Currently,
In [1]: A = randMatrix(5,5)
In [2]: A
Out[2]:
⎡17 11 2 66 93⎤
⎢ ⎥
⎢69 99 38 5 88⎥
⎢ ⎥
⎢98 84 69 16 31⎥
⎢ ⎥
⎢74 16 4 36 6 ⎥
⎢ ⎥
⎣61 22 11 78 26⎦
In [3]: A[2:7]
Out[3]: [2, 66, 93, 69, 99]
Out[3] does not make any elegant sense, IMO.
--
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.