On this page
Binary operations
Elementwise bit operations
| 
 | Compute the bit-wise AND of two arrays element-wise. | 
| 
 | Compute the bit-wise OR of two arrays element-wise. | 
| 
 | Compute the bit-wise XOR of two arrays element-wise. | 
| 
 | Compute bit-wise inversion, or bit-wise NOT, element-wise. | 
| 
 | Shift the bits of an integer to the left. | 
| 
 | Shift the bits of an integer to the right. | 
Bit packing
| 
 | Packs the elements of a binary-valued array into bits in a uint8 array. | 
| 
 | Unpacks elements of a uint8 array into a binary-valued output array. | 
Output formatting
| 
 | Return the binary representation of the input number as a string. | 
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
 https://numpy.org/doc/1.19/reference/routines.bitwise.html