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
  • 235,170
  • 19
  • 170
  • 241
superStar
  • 23
  • 4

0 Answers0