Comment #11 on issue 388 by m113355: NotImplementedError in matrices
http://code.google.com/p/sympy/issues/detail?id=388
It's not clear to me what the problem was, so I'm not sure what to fix. It
seems that the matrix constructor sympifies each element before putting it
in the matrix, and it seems that sympify accepts a list/tuple/set as input
and creates a list/tuple/set with each element sympified. So it seems
sympify should be happy with a matrix as is, since contents are already
sympified.
If this is the case, I would add matrix to the the "accept as is" category
in sympify:
if isinstance(a, (Basic, BasicType, bool, Matrix)):
return a
and remove the later special case that generates an error for a matrix.
But there must be a reason for the current state, so I'm reluctant to make
changes without understand sympy's architecture.
--
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.