On Sat, Apr 12, 2014 at 10:02 AM, Alan G Isaac <[email protected]> wrote:
> Are there any considerations besides convenience in choosing > between: > > a&b a*b logical_and(a,b) > a|b a+b logical_or(a,b) > ~a True-a logical_not(a) > Boolean "-" is being deprecated: https://github.com/numpy/numpy/pull/4105 The choice between &| and *+ is best dictated by what is more natural in your problem domain and how your functions should treat non-boolean types.
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
