title: Assembling matrices in python (scipy/numpy)
body: <p>I was wondering if there is an easy way to assemble matrices along the diagonal in python, adding values if they overlap. Here is a handy diagram I stole from the Matlab forum: <a href="https://i.stack.imgur.com/ZunrZ.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/ZunrZ.jpg</a></p>
  
  <p>Currently, I am trying to implement it to work with a set number of 2x2 matrices, but the end goal is to make the code assemble an arbitrary amount of arbitrary sized matrices(all the same size ofc., max 4x4).</p>