[Numpy-discussion] Release of NumPy
Travis E. Oliphant
Thu Apr 17 10:11:17 CDT 2008
Alan G Isaac wrote:
>> On 17/04/2008, Alan G Isaac <email@example.com> wrote:
>>> - it retains more ndarray behavior
> On Thu, 17 Apr 2008, Stéfan van der Walt apparently wrote:
>> That is simply not true. The patch I sent provides everything you
>> asked for without breaking any ndarray behaviour, whereas your
>> suggestion breaks x == x[0,:].
> The behavior I was referring to is:
> iteration through the matrix would
> yield 1d arrays (and all their
> associated behavior).
> Sorry that was not clear.
> Again, please note that I have said
> multiple times that if iteration
> yields instead 1 by N matrices that
> can be indexed with with a single index
> ("vectors") I will be happy.
> What is more, Travis's question seems
> to kill my proposal, since it seems to
> imply that
I didn't intentionally mean to do that.
> - the behavior of matrices and sparse matrices
> should match
This is what I would like.
> - that x should yield a sparse matrix if x is
> a sparse matrix
This is what is debatable.
More information about the Numpy-discussion