sympy/sympy — pull request #8215 by cbm755 (2014-10-08 23:02:17+00:00)
Title: printing: fix srepr of empty Matrix with nonzero dimension

`zeros(0, 3)`, `zeros(3, 0)`, and `zeros(0, 0)` all have srepr of
"MutableDenseMatrix([])". This violates the "eval(srepr(expr))==expr"
idea. Fix the ReprPrinter to instead produce
"MutableDenseMatrix(0, 3, [])" which is consistent with StrPrinter.

Add tests.