lambdify_cse(var, expr[, modules, env]) |
Generates a function that evaluates ‘expr’ but uses cse to optimize |
Tools for using sympy to generate code.
-
mmf.utils.mmf_sympy.lambdify_cse(var, expr, modules='numpy', env={})[source]
Generates a function that evaluates ‘expr’ but uses cse to optimize
common subexpressions.