finesse.symbols.Function.eval¶
- Function.eval(**kwargs)[source]¶
Evaluates the operation.
- Parameters:
- subsdict, optional
Parameter substitutions can be given via an optional
subs
dict (mapping parameters to substituted values).- keepiterable, str
A collection of names of variables to keep as variables when evaluating.
- Returns:
- resultnumber 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.