On Fri, 21 Mar 2008, Stéfan van der Walt apparently wrote:
> The last I remember, we considered adding RowVector, 
> ColumnVector and letting slices out of a matrix either be 
> one of those or a matrix itself.

There was a subsequent discussion.


> I simply don't see a Matrix as a container of ndarrays 

That is hardly an argument.

Remember, any indexing that when applied to an 2d array
would produce a 2d array will when applied to a matrix
still produce a matrix.

This is really just principle of least surprise.

Or, if you want a complementary way of looking at it,
it is keeping as much of the natural behavior
of the ndarray as possible while adding convenient
submatrices, matrix multiplication, and inverse.

Cheers,
Alan Isaac

PS Are you a *user* of matrices?


_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to