title: Numpy Matrix Multiplication Explanation
body: <p>I am working through some math exercises and I do not understand why my numpy matrix multiplication is not working.</p>
  <p>So I have:</p>
  <pre><code>t = np.array([[6,-1],[2,3]])
  c = np.array([[1,1], [1,2]])
  cinv = np.linalg.inv(c)
  </code></pre>
  <p>Which gives me:</p>
  <pre><code>t:
     [[ 6 -1]
      [ 2  3]]
  c:
     [[1 1]
      [1 2]]
  cinv:
     [[ 2. -1.]
      [-1.  1.]]
  </code></pre>
  <p>Now when I run my equation I get the following:</p>
  <pre><code>cinv*t*c
  array([[12.,  1.],
         [-2.,  6.]])
  </code></pre>
  <p>Which this is not correct. I did it over a couple times and the correct answer is (5,0)(0,4). Why is the multiplication being carried out by position instead of row * column?</p>
  <p>Can someone help me out with what I am doing wrong here?</p>