finesse.symbols.Variable.eval

Variable.eval(subs=None, keep=None, **kwargs)[source]

Evaluates this variable and returns either itself or a numeric value.

Parameters:
subsdict

Dictionary of numeric values to substitute for variables

keepiterable, str

A collection of names of variables to keep as variables when evaluating.