triqs.gf.lazy_expressions

Functions

all_terminals(expr)

Generate all terminals of an expression

eval_expr(expr)

If expr is not a LazyExpr: returns expr unchanged.

eval_expr_with_context(eval_term, expr)

lazy_function(name, F)

make_lazy(x)

transform(expr, Fnode[, Fterm])

Given two functions Fnode(tag, childs) -> (tag, childs) Fterm(x) -> x' it transforms the expression recursively

Classes

LazyExpr(*args)

LazyExprTerminal()