Comment #12 on issue 2106 by Vinzent.Steinberg: Matrix of shape (1,1) and a number can't be added
http://code.google.com/p/sympy/issues/detail?id=2106

Well, you could define the addition componentwise, this makes sense. And this is what numpy/mpmath are doing.

I thinks it's fine to let the user do the 1x1-matrix <-> scalar conversion explicitly. (It's different from a scalar, you could also have an 1x1x1-object for instance.)

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to