asc.language.tile.binary_ops.equal

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

Computes the element-wise ‘equality’ comparison of input and other.

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

  • other – the right operand (tile or scalar)

Returns:

the result of ‘equality’ comparison

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.__eq__(...) instead of equal(x, ...).