triqs.gfs.descriptor_base.LazyCTX

class triqs.gfs.descriptor_base.LazyCTX(G)[source]

Bases: object

Evaluation context used by __lshift__().

Wraps a target Gf and provides __call__ to reduce a descriptor to the concrete Green’s function obtained by applying it to a fresh copy of the target.

Parameters:
GGf

Target on which descriptors will be evaluated.

Attributes

G

(Gf) The captured target Green’s function.

Methods

__call__(x)

Reduce a leaf of a lazy expression.