sympy/sympy — pull request #7563 by zanzibar7 (2014-06-05 15:31:19+00:00)
Title: Enable an indexed summation of matrices

- on AddWithLimits.expand() distribute sum to each matrix entry
- Sum.doit() recognizes matrix summands and distributes
- Matrix.doit() maps to matrix entries
- includes 1 new test