finesse.symbols.Operation.eval¶
- Operation.eval(self, **kwargs)¶
Evaluates the operation.
Parameter substitutions can be given via an optional
subs
dict (mapping parameters to substituted values).- Returns
result : number or array-like
The single-valued result of evaluation of the operation (if no substitutions given, or all substitutions are scalar-valued). Otherwise, if any parameter substitution was a
numpy.ndarray
, then a corresponding array of results.