Thank you both, I fixed it by using a "wrapper" function that yielded the
tuples, and to make it work I needed the "unpack" tip from Denis. Next time
I try the nested tuples solution, I had no idea that could be done!
Regards
On Monday, December 5, 2016 at 4:04:29 PM UTC-3, Aaron Meurer wrote:
If you need lambdify to take a single argument, which unpacks to the
variables, you can pass a nested tuple, like
lambdify(((la1, la2, la3, la4, la5),), steadystate)
On Mon, Dec 5, 2016 at 4:13 AM, Denis Akhiyarov
wrote:
> You need to unpack your x0 with * syntax.
>
> So test(*x0).
>
> --
> You
You need to unpack your x0 with * syntax.
So test(*x0).
--
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 post to this group, send
Hi, I need help, I'm trying to use lambdify to use scipy solvers, however I
can't seem to be able to convert it into a solvable array of numpy
functions(it was an array of sympy expressions), this leads to a bunch of
non callable errors. It does work if I just call it: f(x1,x2,x3) with known
va