Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here is a way of getting Abar

sage: Abar=block_matrix(2,2,[[(A+B),C],[D,E]])
click to hide/show revision 2
improved style based on calc314's comment

Here is a way of getting Abar

sage: Abar=block_matrix(2,2,[[(A+B),C],[D,E]])
Abar=block_matrix([[(A+B),C],[D,E]])

Update: Using @calc314's suggestion for no subdivisions:

sage: Abar=block_matrix([[(A+B),C],[D,E]], subdivide=False)