[Numpy-discussion] Release of NumPy

Stéfan van der Walt stefan@sun.ac...
Wed Apr 16 11:42:31 CDT 2008

On 16/04/2008, Alan G Isaac <aisaac@american.edu> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: numpy_mat_vector.patch
Type: application/octet-stream
Size: 3499 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080416/77cc6650/attachment.obj 

More information about the Numpy-discussion mailing list