title: Numpy vectorize numpy.dot function
body: <p>I have <code>a=np.array([array([1,2,3,4],[2,3,4,5]),array([6,7,8,9])])</code>. I want to take a dot product of both of the arrays with some vector v.</p>
  <p>I tried to vectorize the np.dot function.</p>
  <p><code>vfunc=np.vectorize(np.dot) </code> and I applied the vfunc to my array a. <code>vfunc(a,v)</code>where v is the vector i want to take dot product with. However, i get this error <code>ValueError: setting an array element with a sequence. </code>. Is there any other way to do this?</p>