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

I should point out that Matrix has a dot method that returns a scalar. It also has the advantage of being commutative:

In [8]: w.dot(v)
Out[8]: 4

In [9]: v.dot(w)
Out[9]: 4


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

Reply via email to