[Numpy-discussion] Uncomfortable with matrix change
Alan G Isaac
Sat May 10 11:24:00 CDT 2008
>> On Sat, 10 May 2008, Jarrod Millman wrote:
>>> unless there are major objections, I am going to back out
>>> the matrices changes in the 1.1 branch.
> On Sat, May 10, 2008 at 8:08 AM, Alan G Isaac
> <firstname.lastname@example.org> wrote:
>> If these are backed out, will some kind of deprecation
>> warning be added for scalar indexing, as Travis
>> suggested? Robert's request seems in accord with this.
On Sat, 10 May 2008, Keith Goodman apparently wrote:
> Shouldn't a deprecation warning explain what the future
> behavior will be?
I do not think so. I think the warning should say:
"use x[0,:] instead of x to return row 0 as a matrix."
> Is there a firm consensus on what that behavior will be?
My understanding of the plan:
- step 1: scalar indexing and iteration returns 1d
- possible step 2: scalar indexing and iteration
return "oriented" 1d-array-like objects ("vectors")
suitable for linear algebra.
Personally, I only care that step 1 is achieved.
More information about the Numpy-discussion