Comment #1 on issue 2212 by gitul...@gmail.com: Matrix([Matrix, …]) should work
http://code.google.com/p/sympy/issues/detail?id=2212

It seems that SymPy does not support matrices as building elements for matrices (only lists and tuples are accepted that is why your last example works). In fact your first example should work with this patch [1] (I guess that it will be merged to the main repository soon).

There is another approach that solves your problem and works with current implementation. You may find both in the attachment.

[1] https://github.com/gituliar/sympy/commit/c568ffb388ff458b221dd5180f348bd9c566aa7a

Attachments:
        2212.py  713 bytes

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@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.

Reply via email to