finesse.symbols.Function.eval¶
- Function.eval(**kwargs)[source]¶
- Evaluates the operation. - Parameters:
- subsdict, optional
- Parameter substitutions can be given via an optional - subsdict (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.
 
 - Notes - A division by zero will return a NaN, rather than raise an exception.