Re: [Numpy-discussion] Question about indexing arrays with boolean arrays

2006-10-18 Thread Michael Sorich
On 10/18/06, Daniel Arbuckle <[EMAIL PROTECTED]> wrote: > Why does a[b1, b2] not mean the same thing as a[b1][:, b2], when "a" > is an array and "b1" and "b2" are appropriately sized arrays of > booleans? >From my previous experience with R I am used to a[b1, b2] being equivalent to a[b1][:, b2],

[Numpy-discussion] Question about indexing arrays with boolean arrays

2006-10-17 Thread Daniel Arbuckle
Why does a[b1, b2] not mean the same thing as a[b1][:, b2], when "a" is an array and "b1" and "b2" are appropriately sized arrays of booleans? Thanks - Using Tomcat but need to do more? Need to support web services, security?