title: Numpy, multiply 3x3 array by 3x10 array?
body: <p>I have a 3x10 matrix (in the form of a numpy array) and would like to multiply it by a 3x3 transformation matrix.  I don't think np.dot is doing the full matrix multiplication.  Is there a method for doing this multiplication with arrays?</p>
  
  <pre><code>transf = np.array([ [0.1, -0.4, 0],[0.9, 0.75, -0.1],[0.5, 0.75, -0.9] ])
  
  one = [0,1,2,3,4,5,6,8,9]
  two = [1,2,3,4,5,6,8,9,10]
  three = [2,3,4,5,6,8,9,10,11]
  
  data = np.array([ one, two, three ])
  
  new_data = np.dot(transf,data)
  </code></pre>
  
  <p>Is there a dot function that does the entire matrix multiplication, not just <a href="http://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.dot.html" rel="nofollow">"For N dimensions it is a sum product over the last axis of a and the second-to-last of b"</a> </p>