| 1 | initial version |
Use the block_matrix command instead of the matrix command:
var('x,y')
A=matrix([[x,y],[x^2,y^2]])
B=matrix([[2*x,3*y],[4*x,5*y]])
C=block_matrix(SR,[[A,B],[B,A]])
C
http://aleph.sagemath.org/?q=789a5a21-2cad-487d-a04b-1c01e53ba214
| 2 | No.2 Revision |
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.