To achieve this with lambdify you should call cse() first, then
lambdify each expression separately. We ought to build a wrapper to
make this easier (or a cse=True flag to lambdify).
Aaron Meurer
On Fri, Oct 14, 2016 at 11:06 AM, Björn Dahlgren wrote:
>
>
> On Friday, 14
On Friday, 14 October 2016 15:09:46 UTC+2, Albert Pető wrote:
>
> Hi, I plan to heavily use a function generated with lambdify from a sympy
> expression which has repeated occurences of some subexpressions.
>
This functionality is available in symengine: