Binary Operations¶
Elementwise bit operations¶
-
cupy.
bitwise_and
= <ufunc 'cupy_bitwise_and'>¶ Computes the bitwise AND of two arrays elementwise.
Only integer and boolean arrays are handled.
See also
-
cupy.
bitwise_or
= <ufunc 'cupy_bitwise_or'>¶ Computes the bitwise OR of two arrays elementwise.
Only integer and boolean arrays are handled.
See also
-
cupy.
bitwise_xor
= <ufunc 'cupy_bitwise_xor'>¶ Computes the bitwise XOR of two arrays elementwise.
Only integer and boolean arrays are handled.
See also
-
cupy.
invert
= <ufunc 'cupy_invert'>¶ Computes the bitwise NOT of an array elementwise.
Only integer and boolean arrays are handled.
See also
-
cupy.
left_shift
= <ufunc 'cupy_left_shift'>¶ Shifts the bits of each integer element to the left.
Only integer arrays are handled.
See also
-
cupy.
right_shift
= <ufunc 'cupy_right_shift'>¶ Shifts the bits of each integer element to the right.
Only integer arrays are handled
See also