Re: [Numpy-discussion] matrix indexing question

2007-03-27 Thread Joachim Dahl
On 3/27/07, Zachary Pincus <[EMAIL PROTECTED]> wrote: So we are left with the current behavior: (a) M[i,:] is a matrix. (b) M[i] is a matrix. (c) Iteration over M yields matrices. I find it useful if M[i] indexes the matrix interpreted as a column-vector (vec(M), or M(:) in Matlab notation),

Re: [Numpy-discussion] matrix indexing question

2007-03-27 Thread Joachim Dahl
I would like to hear your opinion on developing an explicit sparse/dense 2D matrix class with indexing similar to Matlab, and without significant differences between sparse and dense matrices from the user's perspective... I know that it's not one of Numpy/Scipy's goals to clone Matlab, but I th