legate.core.SymbolicExpr#

class legate.core.SymbolicExpr#
__init__(*args, **kwargs)#

Attributes

dim

int

offset

int

weight

int

Methods

__add__(self, int32_t other)

Shift an expression by a scaling factor.

__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__gt__(value, /)

Return self>value.

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__mul__(self, int32_t other)

Multiply an expression by a scaling factor.

__ne__(value, /)

Return self!=value.

__radd__(value, /)

Return value+self.

__repr__(self)

Return a human-readable representation of the expression.

__rmul__(value, /)

Return value*self.

__str__(self)

Return a human-readable representation of the expression.

is_identity(self, int32_t dim)

For a given dimension, return whether the expression is an identity mapping.