Updates:
Status: Fixed
Labels: -NeedsBetterPatch
Comment #13 on issue 1860 by [email protected]: Symbols with shape
http://code.google.com/p/sympy/issues/detail?id=1860
This issue is similar to issue #420 which I just marked as WontFix. In
comment ##9 the idea of MatrixSymbol was suggested and now this is
implemented in SymPy:
In [1]: A = MatrixSymbol('A', 5, 5)
In [2]: 2*A + A**2 + A
Out[2]:
2
3⋅A + A
In [3]: _.shape
Out[3]: (5, 5)
I consider this issue fixed, because now we have symbols with shape. One
just have to use MatrixSymbol instead of Symbol directly, which I see as a
good decision, because symbols with shape aren't the mostly used ones and
not handling them by default improves overall speed of SymPy.
--
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.