__rshift__

array.__rshift__(other: int | array, /) array

Evaluates self_i >> other_i for each element of an array instance with the respective element of the array other.

Parameters:
  • self (array) – array instance. Should have an integer data type.

  • other (Union[int, array]) – other array. Must be compatible with self (see Broadcasting). Should have an integer data type. Each element must be greater than or equal to 0.

Returns:

out (array) – an array containing the element-wise results. The returned array must have the same data type as self.

Note

Element-wise results must equal the results returned by the equivalent element-wise function bitwise_right_shift().