Comment #4 on issue 1838 by smichr: Add support for [0]*S(5), etc. http://code.google.com/p/sympy/issues/detail?id=1838
In objection to my comment, we could reserve one of the sides (preferrably right) for the normal scalar behavior of python so [0]*S(2) would give [0, 0] and if someone wanted to do vector multiplication that could be done on the left for a scalar or on the left or right for a non-commutative symbolic entity (which won't be a scalar).
[1, 2]*S(2) => [1, 2, 1, 2] S(2)*[1, 2] => [2, 4] x=Symbol('x', commutative=False) var('a b') x*[a, b] => [x*a, x*b] [a, b]*x => [a*x, b*x] -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- 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.