Numpy 简明教程
NumPy - Binary Operators
以下是 NumPy 包中可用的按位运算函数:
Following are the functions for bitwise operations available in NumPy package.
Sr.No. |
Operation & Description |
1 |
bitwise_andComputes bitwise AND operation of array elements |
2 |
bitwise_orComputes bitwise OR operation of array elements |
3 |
invertComputes bitwise NOT |
4 |
left_shiftShifts bits of a binary representation to the left |
5 |
right_shiftShifts bits of binary representation to the right |