English 中文(简体)
NumPy - Binary Operators
  • 时间:2024-12-22

NumPy - Binary Operators


Previous Page Next Page  

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