mappy_ds.SymbolicEvaluationError#

exception mappy_ds.SymbolicEvaluationError#

A system function could not be evaluated with symbolic arguments.

System functions are traced once with SymPy symbols in order to derive their Jacobian and Hessian. Operations that need concrete numbers (numpy.cos on symbols, if y[0] > 0 branches, …) break the trace. Use the corresponding sympy functions (sympy.cos, …) instead.