title: Fastest way to multiply arrays of matrices in Python (numpy)
body: <p>I have two arrays of 2-by-2 complex matrices, and I was wondering what would be the fastest method of multiplying them. (I want to do matrix multiplication on the elements of the matrix arrays.) At present, I have </p>
  
  <pre><code>numpy.array(map(lambda i: numpy.dot(m1[i], m2[i]), range(l)))
  </code></pre>
  
  <p>But can one do better than this?</p>
  
  <p>Thanks,</p>
  
  <p>v923z</p>