Binary operations#
Elementwise bit operations#
|
Computes the bitwise AND of two arrays elementwise. |
|
Computes the bitwise OR of two arrays elementwise. |
|
Computes the bitwise XOR of two arrays elementwise. |
|
Computes the bitwise NOT of an array elementwise. |
|
Shifts the bits of each integer element to the left. |
|
Shifts the bits of each integer element to the right. |
Bit packing#
|
Packs the elements of a binary-valued array into bits in a uint8 array. |
|
Unpacks elements of a uint8 array into a binary-valued output array. |
Output formatting#
|
Return the binary representation of the input number as a string. |