pyre.calc¶
Submodules¶
pyre.calc.Averagepyre.calc.Calculatorpyre.calc.Compositepyre.calc.Constpyre.calc.Countpyre.calc.Datumpyre.calc.Dependencypyre.calc.Dependentpyre.calc.Evaluatorpyre.calc.Expressionpyre.calc.Filterpyre.calc.Hierarchicalpyre.calc.Interpolationpyre.calc.Mappingpyre.calc.Maximumpyre.calc.Memopyre.calc.Minimumpyre.calc.Nodepyre.calc.NodeInfopyre.calc.Observablepyre.calc.Observerpyre.calc.Postprocessorpyre.calc.Preprocessorpyre.calc.Probepyre.calc.Productpyre.calc.Reactorpyre.calc.Referencepyre.calc.Sequencepyre.calc.Sumpyre.calc.SymbolTablepyre.calc.Unresolvedpyre.calc.Valuepyre.calc.exceptions
Package Contents¶
-
class
pyre.calc.calculator¶ Bases:
pyre.algebraic.algebraMetaclass that grants nodes value management capabilities
-
pyre.calc.model(**kwds)¶ Build a node container that specializes in names that have encoded hierarchical levels, such as file paths or namespaces
-
pyre.calc.var(value=None, **kwds)¶ Build a variable, i.e. a node that can hold an arbitrary value
-
pyre.calc.expression(*, formula, model)¶ Build a new node that evaluates a {formula} that involves the names of other nodes as resolved in the symbol table {model}.
-
pyre.calc.sequence(*operands)¶ Build a node that holds a sequence of other nodes
-
pyre.calc.mapping(**operands)¶ Build a node that holds a sequence of other nodes
-
pyre.calc.average(*operands)¶ Compute the average of a collection of nodes
-
pyre.calc.count(*operands)¶ Compute the length of a collection of nodes
-
pyre.calc.max(*operands)¶ Compute the minimum of a collection of nodes
-
pyre.calc.min(*operands)¶ Compute the minimum of a collection of nodes
-
pyre.calc.product(*operands)¶ Compute the sum of a collection of nodes
-
pyre.calc.sum(*operands)¶ Compute the sum of a collection of nodes
-
pyre.calc.debug()¶ Support for debugging the calc package