array.__lshift__(other: Union[int, array], /) array

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

  • 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.


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


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