On Mon, 22 Aug 2022 at 15:36, Peter Stahlecker <peter.stahlec...@gmail.com> wrote: > > Dear Oscar, > > Thanks for your hint about these parameters!. > Probably dumb question of mine: > Could one not define f_Vi_est directly as > > def_Vi_est(gamma, alfa, beta, eta, L, K, VA): > Vi_est = gamma - (1 / eta)….. > return np.sum(…..) > > without any ‚lambdification‘?
Yes. In an earlier post the OP showed that they had working code like that but wanted to know how to do it using SymPy and lambdify. I presume there is a reason for wanting to use SymPy there (perhaps to accomplish something slightly different from the exact code shown). It's also possible that there isn't any actual reason to use SymPy for this at all though. -- Oscar -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxQJUuZ4tVnECPyWE%3DLd03hhhUB5mqv1bjHcjSNf9WP22Q%40mail.gmail.com.