asc.language.tile.binary_ops.left_shift

asc.language.tile.binary_ops.left_shift(input: Tile, other: PlainValue | int) Tile

Computes the element-wise left shift (bitwise) of input and other.

Parameters:
  • input – the left operand (tile or scalar)

  • other – the right operand (tile or scalar)

Returns:

the result of left shift (bitwise)

Return type:

Tile

Note

At least one of input operands must be Tile.

This function can also be called as a member function on Tile, as x.__lshift__(...) instead of left_shift(x, ...).