On 16/04/2008, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> The rule is:
>  to get a submatrix,
>  use multiple indices.
>  As Anne has argued,
>  this is natural.

That is *not* the rule for arrays; you argued the compatibility point yourself.

> As far as I know, no objections have been raised by users of
> matrices.

I haven't seen many comments either way.  Are you opposed to fixing
the problem the way Tim suggested?

> I claim that if you use matrices, you will find it natural for these to be 1d 
> arrays.

Why would linear algebra users prefer 1d arrays instead of vectors?

Attached, please find a first attempt at implementing a Vector class.
It passes all tests on my machine.

Regards
Stéfan

Attachment: numpy_mat_vector.patch
Description: Binary data

_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to