pystencils.flow.flowgraph.Reduce

pystencils.flow.flowgraph.Reduce#

class pystencils.flow.flowgraph.Reduce(lhs, rhs, op)#

Reduce assignments perform reductions onto a target typed symbol with a given operation.

Like Store, Reduce assignments may only occur in blocks that connect to \(\bot\).

Parameters:
subs(substitutions, **kwargs)#

Perform substitutions inside this assignment.

See the subs method of sp.Basic for details.

Parameters:

substitutions (Mapping[Basic, Basic])