title: Sympy Lambdify with array inputs
body: <p>I am trying to give an array as input and expect an array as output for the following code.</p>
  
  <pre><code>from sympy import symbols
  from sympy.utilities.lambdify import lambdify
  import os
  from sympy import *
  import numpy as np
  
  text=open('expr.txt','r')
  expr=text.read()
  x,param1,param2=symbols('x param1 param2')
  params=np.array([param1,param2])
  T=lambdify((x,params),expr,modules='numpy')
  data=np.genfromtxt('datafile.csv',delimiter=',')
  print T(data[0],[0.29,4.5])
  text.close()
  </code></pre>
  
  <p>But get the following error.</p>
  
  <pre><code>TypeError: &lt;lambda&gt;() takes exactly 3 arguments (13 given)
  </code></pre>
  
  <p>How do i tell sympy that its a single array? Thanks in advance.</p>