NumSharp
NumSharp copied to clipboard
Bit shift and bit or
Is it possible to bit-shift and bit-or all values in a NDArray with NumSharp, whiteout a for loop? With Numpy (python) is works as follows:
r_shift = r<<8 g_shift = g<<0 rg_concat = r_shift|g_shift