finesse.symbols.evaluate

finesse.symbols.evaluate(x)

Evaluates a symbol or N-dimensional array of symbols.

Parameters

x : Symbol or array-like

A symbolic expression or an array of symbolic expressions.

Returns

out : float, complex, numpy.ndarray

A single value for the evaluated expression if x is not array-like, otherwise an array of the evaluated expressions.