|
def | __init__ (self, BinaryOperators op) |
|
def | str_attr (self) |
|
def | __init__ (self, *args, **kwargs) |
|
def | visit (self, init, func) |
|
def | mk_child (self, child) |
|
def | str_attr (self) |
|
def | get_attr (self, attr) |
|
def | __str__ (self) |
|
def | __add__ (self, other) |
|
def | __radd__ (self, other) |
|
def | __sub__ (self, other) |
|
def | __rsub__ (self, other) |
|
def | __mul__ (self, other) |
|
def | __rmul__ (self, other) |
|
def | __truediv__ (self, other) |
|
def | __rtruediv__ (self, other) |
|
def | __mod__ (self, other) |
|
def | __rmod__ (self, other) |
|
def | __and__ (self, other) |
|
def | __rand__ (self, other) |
|
def | __xor__ (self, other) |
|
def | __rxor__ (self, other) |
|
def | __or__ (self, other) |
|
def | __ror__ (self, other) |
|
def | __lshift__ (self, other) |
|
def | __rlshift__ (self, other) |
|
def | __rshift__ (self, other) |
|
def | __rrshift__ (self, other) |
|
def | __neg__ (self) |
|
def | __lt__ (self, other) |
|
def | __le__ (self, other) |
|
def | __eq__ (self, other) |
|
def | __ne__ (self, other) |
|
def | __gt__ (self, other) |
|
def | __ge__ (self, other) |
|
def | logical_and (self, other) |
|
def | logical_or (self, other) |
|
def | logical_not (self) |
|
def | __hash__ (self) |
|
def | __new__ (cls, name, bases, namespace) |
|
◆ __init__()
◆ str_attr()
def st.codegen.reduction.Reduction.str_attr |
( |
|
self | ) |
|
Extra attributes that should be printed in str representation
Reimplemented from st.expr.Expr.
◆ identity
dict st.codegen.reduction.Reduction.identity |
|
static |
Initial value:= {
BinaryOperators.Add: 0,
BinaryOperators.Mul: 1,
BinaryOperators.And: 1,
BinaryOperators.Or: 0,
}
◆ op
dict st.codegen.reduction.Reduction.op |
|
static |
Initial value:= {
BinaryOperators.Add: BinaryOperators.Add,
BinaryOperators.Sub: BinaryOperators.Add,
BinaryOperators.Mul: BinaryOperators.Mul,
BinaryOperators.Div: BinaryOperators.Mul,
BinaryOperators.And: BinaryOperators.And,
BinaryOperators.Or: BinaryOperators.Or,
}
◆ operator
st.codegen.reduction.Reduction.operator |
◆ terms_op
st.codegen.reduction.Reduction.terms_op |
The documentation for this class was generated from the following file: