asc.language.tile.binary_ops.add
- asc.language.tile.binary_ops.add(input: Tile | PlainValue | int | float, other: Tile | PlainValue | int | float) Tile
Computes the element-wise addition of
inputandother.- Parameters:
input – the left operand (tile or scalar)
other – the right operand (tile or scalar)
- Returns:
the result of addition
- Return type:
Note
At least one of input operands must be
Tile.This function can also be called as a member function on
Tile, asx.__add__(...)instead ofadd(x, ...).