pystencils.backend.ast.expressions.evaluate_expression

pystencils.backend.ast.expressions.evaluate_expression#

pystencils.backend.ast.expressions.evaluate_expression(expr, valuation)#

Evaluate a pystencils backend expression tree with values assigned to symbols according to the given valuation.

Only a subset of expression nodes can be processed by this evaluator.

Return type:

Any

Parameters: