[Numpy-discussion] Using logical function on more than 2 arrays, availability of a "between" function ?
Pierre Haessig
pierre.haessig@crans....
Sun Mar 25 17:22:25 CDT 2012
Hi Eric,
Thanks for the hints !
Le 25/03/2012 20:33, Eric Firing a écrit :
> Using the bitwise operators in place of logical operators is a hack to
> get around limitations of the language; but, if done carefully, it is a
> useful one.
What is the rationale behind not overloading __and__ & other logical
operations ?
Is it a requirement that boolean operators should always return *a bool*
and not an *array of bools* ?
--
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120326/bbf179ca/attachment-0001.bin
More information about the NumPy-Discussion
mailing list