NumPy - Binary Operators


Advertisements

Following are the functions for bitwise operations available in NumPy package.

Sr.No. Operation & Description
1 bitwise_and

Computes bitwise AND operation of array elements

2 bitwise_or

Computes bitwise OR operation of array elements

3 invert

Computes bitwise NOT

4 left_shift

Shifts bits of a binary representation to the left

5 right_shift

Shifts bits of binary representation to the right

Advertisements