shift_right_arithmetic

shift_right_arithmetic#

class brainunit.lax.shift_right_arithmetic(x, y, **kwargs)#

Elementwise arithmetic right shift: \(x \gg y\).

Parameters:
  • x (saiunit.Quantity | Array | ndarray | bool | number | bool | int | float | complex) – Values to shift. Must be unitless.

  • y (saiunit.Quantity | Array | ndarray | bool | number | bool | int | float | complex) – Shift amounts. Must be unitless.

Returns:

result – Always unitless.

Return type:

Array