Updates:
Status: Fixed
Comment #16 on issue 2020 by [email protected]: Symbols & Matrices
http://code.google.com/p/sympy/issues/detail?id=2020
Now that ImmutableMatrix is in I think we have covered all requests made in
this issue.
wanted
a = sympy.Symbol('a', commutative=False, shape=(3,1)) # works
got
x = MatrixSymbol('a', 3, 1)
wanted
eq1 = a-sympy.Matrix([c,0,0]) # unsupported operand type(s) for -: 'Symbol'
and 'Matrix'
got
a - ImmutableMatrix([c, 0, 0])
wanted
eq2 = sympy.sympify('transpose(a)*b')
got
a.T*b
wanted
eq2.subs({a:sympy.Matrix([c,0,0]),b: sympy.Matrix([0,2,0])})
got
eq2.subs({a:ImmutableMatrix([c,0,0), b: ImmutableMatrix([0,2,0])})
--
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.