Updates:
Summary: Matrices of matrices
Status: Valid
Comment #1 on issue 3673 by asmeu...@gmail.com: Matrices of matrices
http://code.google.com/p/sympy/issues/detail?id=3673
I think this behavior makes sense, but I could be wrong. If you do
In [44]: Matrix([[1, 2, 3], [4, 5, 6]])
Out[44]:
⎡1 2 3⎤
⎢ ⎥
⎣4 5 6⎦
This takes [1, 2, 3] and [4, 5, 6], and puts them on top of each other.
Now, A_null is basically [matrix1, matrix2], so shouldn't it also put
matrix1 on top of matrix2?
Then again, this might even be considered too ambiguous for the Matrix
constructor to attempt to do something meaningful with. I know there are
other issues about this sort of thing, but I can't find them at the
moment. If someone digs them up, we can merge them if they are basically
the same.
By the way, this is probably a bug
In [48]: Matrix([[A_null]])
Out[48]:
⎡⎡⎡ 6 ⎤, ⎡ 1 ⎤⎤⎤
⎢⎢⎢ ⎥ ⎢ ⎥⎥⎥
⎢⎢⎢-10⎥ ⎢-1/2⎥⎥⎥
⎢⎢⎢ ⎥ ⎢ ⎥⎥⎥
⎢⎢⎢-4 ⎥ ⎢ -2 ⎥⎥⎥
⎢⎢⎢ ⎥ ⎢ ⎥⎥⎥
⎢⎢⎢ 1 ⎥ ⎢ 0 ⎥⎥⎥
⎢⎢⎢ ⎥ ⎢ ⎥⎥⎥
⎣⎣⎣ 0 ⎦ ⎣ 1 ⎦⎦⎦
what is that supposed to be, some kind of block matrix or something? Or is
it literally doing no type checking.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.