[Numpy-discussion] use ufunc for arbitrary positional arguments?

Benjamin Root ben.root at ou.edu
Fri Oct 10 14:23:48 EDT 2014


I have a need to "and" together an arbitrary number of boolean arrays.
np.logical_and() expects only two positional arguments. There has got to be
some sort of easy way to just and these together using the ufunc mechanism,
right?

Cheers!
Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141010/0cc97967/attachment.html>


More information about the NumPy-Discussion mailing list