M9

Numbers as arrays

From for-loops to vectorized thinking.

  1. 1 A loop that adds two lists, pair by pair ~6 min
  2. 2 np.array is a list that knows it's a vector ~7 min
  3. 3 The dot product, three ways ~7 min
  4. 4 A matrix is an array of arrays ~8 min