pystencils.backend.ast.expressions.PsSubscript

pystencils.backend.ast.expressions.PsSubscript#

class pystencils.backend.ast.expressions.PsSubscript(arr, index)#

N-dimensional subscript into an array.

Parameters:
_clone_expr()#

Implementation of expression cloning.

Return type:

PsSubscript

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: