(function from pyomo.core.expr.taylor_series)
pyomo.core.expr.taylor_series
Generate a taylor series approximation for expr.
expr (pyomo.core.expr.numeric_expr.NumericExpression)
diff_mode (pyomo.core.expr.calculus.derivatives.Modes) – The method for differentiation.
order (The order of the taylor series expansion) – If order is not 1, then symbolic differentiation must be used (differentiation.Modes.reverse_symbolic or differentiation.Modes.sympy).
res
pyomo.core.expr.numeric_expr.NumericExpression