0

I am trying to use lambdify. The code is:

expr = x+y
f = lambdify((x,y), expr, "numpy")

Now evaluate the function, for example: f(1,2) if the x, y input is stored in a list, like [1,2] how can I pass the variable to the function f? assuming that f can be a function of thousand variables so manually input is not ideal. Any suggestions? Thanks

eyllanesc
  • 221,139
  • 17
  • 121
  • 189
superStar
  • 21
  • 3

0 Answers0