set_lambda_backend

Set the backend that will be used to evaluate symbolic expressions.

param lambda_backend:

The backend that will be used to evaluate and compile functions for numerical evaluation of symbolic expressions.

Possible values are:
  • ‘sympy’ : sympy.lambdify is used to compile functions with numpy and scipy

  • ‘symengine’ : symengine.LambdifyCSE is used to compile functions. This results in considerable speedup for more complex model calculations!

type lambda_backend:

str (default = ‘symengine’ if possible, else ‘sympy’)