[Numpy-discussion] matrix indexing question
Alan G Isaac
Sun Mar 25 12:07:25 CDT 2007
One thing keeps bugging me when I use numpy.matrix.
All this is fine::
>>> x=N.mat('1 1;1 0')
But it seems to me that I should be able
to extract a matrix row as an array.
So this ::
feels wrong. (Similarly when iterating across rows.)
Of course I realize that I can just ::
but since the above keeps feeling wrong I felt I should
raise this as a possible design issue, better discussed
early than latter.
More information about the Numpy-discussion