pystencils.backend.ast.axes.PsAxesCube#

class pystencils.backend.ast.axes.PsAxesCube(ranges, body)#

Hypercube of multiple iteration ranges.

Note

The ranges of the axis cube are evaluated in order. Start, stop and step expressions of later ranges may depend on the counter variables of ranges listed before.

Parameters:
get_children()#

Retrieve child nodes of this AST node

This operation must be implemented by subclasses.

Return type:

tuple[PsAstNode, ...]

set_child(idx, c)#

Update a child node of this AST node.

This operation must be implemented by subclasses.

Parameters:
_clone_structural()#

Implementation of structural node cloning.