numpy.bitwise_and()
numpy.bitwise_and
-
numpy.bitwise_and(x1, x2[, out]) =
-
Compute the bit-wise AND of two arrays element-wise.
Computes the bit-wise AND of the underlying binary representation of the integers in the input arrays. This ufunc implements the C/Python operator
&
.Parameters: x1, x2 : array_like
Only integer and boolean types are handled.
Returns: out : array_like
Result.
See also