2008/7/9 Catherine Moroney <[EMAIL PROTECTED]>:
> I have a question about performing element-wise logical operations
> on numpy arrays.
>
> If "a", "b" and "c" are numpy arrays of the same size, does the
> following
> syntax work?
>
> mask = (a > 1.0) & ((b > 3.0) | (c > 10.0))
>
> It seems to be
On Wed, Jul 9, 2008 at 10:21 AM, Catherine Moroney <
[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a question about performing element-wise logical operations
> on numpy arrays.
>
> If "a", "b" and "c" are numpy arrays of the same size, does the
> following
> syntax work?
>
> mask = (a > 1.0) & ((
Hello,
I have a question about performing element-wise logical operations
on numpy arrays.
If "a", "b" and "c" are numpy arrays of the same size, does the
following
syntax work?
mask = (a > 1.0) & ((b > 3.0) | (c > 10.0))
It seems to be performing correctly, but the documentation that I've