Binary operations#

Elementwise bit operations#

bitwise_and(*args[, out, where, casting, ...])

Compute the bit-wise AND of two arrays element-wise.

bitwise_or(*args[, out, where, casting, ...])

Compute the bit-wise OR of two arrays element-wise.

bitwise_xor(*args[, out, where, casting, ...])

Compute the bit-wise XOR of two arrays element-wise.

invert(*args[, out, where, casting, order, ...])

Compute bit-wise inversion, or bit-wise NOT, element-wise.

left_shift(*args[, out, where, casting, ...])

Shift the bits of an integer to the left.

right_shift(*args[, out, where, casting, ...])

Shift the bits of an integer to the right.