title: Numpy Dot product of 3 arrays
body: <p>Experimenting with dot product is giving me some unexpected results:</p>
  <pre><code>a = np.array( [ [1, 2], [3, 4] ])
  b = np.array([5, 6])
  c = np.array((3,2))
  
  x = np.dot(a, b)
  x
  array([17, 39])
  
  y = np.dot(b,c)
  y
  27
  
  z = np.dot(x,y,c)
  [ 459 1053]
  </code></pre>
  <p>The last step is confusing, I was expecting to see a 2x2 matrix:</p>
  <pre><code>[ [1377, 918], [3159, 2106]]
  </code></pre>
  <p>Not sure what is wrong here...detailed calcs in this google sheet:</p>
  <p><a href="https://docs.google.com/spreadsheets/d/17yPHgYhHSW0N8FyBgaf9ya-am1b8LLVBWSjfK9ZGaTo/edit?usp=sharing" rel="nofollow noreferrer">https://docs.google.com/spreadsheets/d/17yPHgYhHSW0N8FyBgaf9ya-am1b8LLVBWSjfK9ZGaTo/edit?usp=sharing</a></p>
  <p>Would appreciate any suggestions. Thanks!</p>