I think a fromblocks classmethod would be useful.
Also I don't see why BlockMatrix shouldn't automatically flatten when
all the entries are explicit matrices. Or at the least have a method
that does so.
As for Matrix([[eye(2), eye(2)], [eye(2), eye(2)]]), it seems it
should either auto-flatten,
I think GitHub has had this feature for a while but I just noticed it
today. If you click the "insights" tab on the GitHub page, you can get
a list of all the repos and all the packages on GitHub that depend on
SymPy.
https://github.com/sympy/sympy/network/dependents?dependent_type=PACKAGE
I have made Azure pipelines required to merge pull requests. Let me
know if there are any issues.
Aaron Meurer
On Fri, Oct 12, 2018 at 1:16 PM Aaron Meurer wrote:
>
> You may have noticed some Azure pipelines builds in the pull requests.
> Till now, they have only run the doctests, but I have
Is there a straight-forward way to create a matrix from blocks?
The Matrix.diag function is nice for creating a block diagonal matrix:
In [1]: Matrix.diag(2*eye(2),3*eye(3))
Out[1]:
⎡2 0 0 0 0⎤
⎢ ⎥
⎢0 2 0 0 0⎥
⎢ ⎥
⎢0 0 3 0 0⎥
⎢ ⎥
⎢0 0 0 3 0⎥
⎢