On 6/28/06, Travis Oliphant <[EMAIL PROTECTED]> wrote:
> This should be better behaved now in SVN. Thanks for the reports.
I'm impressed by how quickly features are added and bugs are fixed.
And by how quick it is to install a new version of numpy.
Thank you.
Using Tomcat but need to do more? N
On 6/28/06, Travis Oliphant <[EMAIL PROTECTED]> wrote:
> Keith Goodman wrote:
>
> >On 6/28/06, Pau Gargallo <[EMAIL PROTECTED]> wrote:
> >
> >
> >>i don't know why 'where' is returning matrices.
> >>if you use:
> >>
> >>
> >>
> >idx = where(y.A > 0.5)[0]
> >
> >
> >>everything will work
Keith Goodman wrote:
>On 6/28/06, Pau Gargallo <[EMAIL PROTECTED]> wrote:
>
>
>>i don't know why 'where' is returning matrices.
>>if you use:
>>
>>
>>
>idx = where(y.A > 0.5)[0]
>
>
>>everything will work fine (I guess)
>>
>>
>
>What about the second issue? Is this
On 6/28/06, Keith Goodman <[EMAIL PROTECTED]> wrote:
> On 6/28/06, Pau Gargallo <[EMAIL PROTECTED]> wrote:
> > i don't know why 'where' is returning matrices.
> > if you use:
> >
> > >>> idx = where(y.A > 0.5)[0]
> >
> > everything will work fine (I guess)
>
> What about the second issue? Is this e
On 6/28/06, Pau Gargallo <[EMAIL PROTECTED]> wrote:
> i don't know why 'where' is returning matrices.
> if you use:
>
> >>> idx = where(y.A > 0.5)[0]
>
> everything will work fine (I guess)
What about the second issue? Is this expected behavior?
>> idx
array([0, 1, 2])
>> y
matrix([[ 0.63731308
i don't know why 'where' is returning matrices.
if you use:
>>> idx = where(y.A > 0.5)[0]
everything will work fine (I guess)
pau
On 6/28/06, Keith Goodman <[EMAIL PROTECTED]> wrote:
> >> x = asmatrix(rand(3,2))
>
> >> y = asmatrix(rand(3,1))
>
> >> y
>
> matrix([[ 0.77952062],
>[ 0.97
>> x = asmatrix(rand(3,2))
>> y = asmatrix(rand(3,1))
>> y
matrix([[ 0.77952062],
[ 0.97110465],
[ 0.77450218]])
>> idx = where(y > 0.5)[0]
>> idx
matrix([[0, 1, 2]])
>> x[idx,:]
matrix([[ 0.24837887, 0.52988253],
[ 0.28661085, 0.43053076],
[ 0.05360893, 0.2266