On Mon, 28 Apr 2008, Timothy Hochberg apparently wrote:
> Can you clarify what you
> mean by submatrix extraction? It sounds like you want to be able index into
> an MxN array and get out a 1xN or Mx1 matrix. If that's the case, wouldn't
> the natural way to spell that under the RowVector/Column
On Sat, Apr 26, 2008 at 7:12 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> On Fri, 25 Apr 2008, "Travis E. Oliphant" apparently wrote:
> > At this point, I'm leaning in the direction of the
> > RowVector / ColumnVector approach (even if these are not
> > really advertised and just used during inde
> Alan G Isaac wrote:
>> OK, we are not converging in time for the release.
>> So can we at least raise a TypeError on scalar
>> indexing of matrices, so that we remain free to choose
>> the ultimate behavior?
On Fri, 25 Apr 2008, "Travis E. Oliphant" apparently wrote:
> I think this is wise
On Fri, 25 Apr 2008, "Travis E. Oliphant" apparently wrote:
> At this point, I'm leaning in the direction of the
> RowVector / ColumnVector approach (even if these are not
> really advertised and just used during indexing).
I believe that this conflicts with submatrix extraction.
Details follow
On Sat, 26 Apr 2008, Bill Baxter apparently wrote:
> Any change to the behavior of x[0] for matrices is going to break a lot of
> code.
OK, how about a warning then?
E.g., see attached patch.
Cheers,
Alan
--- defmatrix.old Sat Apr 26 09:34:11 2008
+++ defmatrix.pySat Apr 26 09:37
On Sat, Apr 26, 2008 at 10:27 AM, Charles R Harris
<[EMAIL PROTECTED]> wrote:
>
>
> On Fri, Apr 25, 2008 at 6:38 PM, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> > OK, we are not converging in time for the release.
> > So can we at least raise a TypeError on scalar
> > indexing of matrices, so that we
Alan G Isaac wrote:
> OK, we are not converging in time for the release.
> So can we at least raise a TypeError on scalar
> indexing of matrices, so that we remain free to choose
> the ultimate behavior?
>
I think this is wise for the time being.
At this point, I'm leaning in the direction of t
On Fri, Apr 25, 2008 at 6:38 PM, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> OK, we are not converging in time for the release.
> So can we at least raise a TypeError on scalar
> indexing of matrices, so that we remain free to choose
> the ultimate behavior?
>
> Those who have spoke up have generall
OK, we are not converging in time for the release.
So can we at least raise a TypeError on scalar
indexing of matrices, so that we remain free to choose
the ultimate behavior?
Those who have spoke up have generally favored
letting x[0] return a 1d array, if I count correctly.
And I think that is t