title: Matrix multiplication, solve Ax = b solve for x
body: <p>So I was given a homework assignment that requires solving the coefficients of cubic splines. Now I clearly understand how to do the math on paper as well as with MatLab, I want to solve the problem with Python. Given an equation Ax = b where I know the values of A and b, I want to be able to solve for x with Python and I am having trouble finding a good resource to do such a thing. </p>
  
  <p>Ex.</p>
  
  <pre><code>A = |1 0 0|
      |1 4 1|
      |0 0 1|
  
  x = Unknown 3x1 matrix
  
  b = |0 |
      |24| 
      |0 |
  </code></pre>
  
  <p>Solve for x</p>