BlockMat2x2 -- create a block matrix with 4 matrices |
Syntax |
BlockMat2x2(A: MAT,B: MAT,C: MAT,D: MAT): MAT |
Description |
| A B | | C D |The obvious restrictions on the sizes of the matrices apply:
Example |
/**/ A := matrix([[1,2,3], [4,5,6]]); /**/ B := matrix([[1,2], [3,4]]); /**/ C := matrix([[1,1,1], [2,2,2], [3,3,3]]); /**/ D := matrix([[4,4], [5,5], [6,6]]); /**/ BlockMat2x2(A,B, C,D); matrix(QQ, [[1, 2, 3, 1, 2], [4, 5, 6, 3, 4], [1, 1, 1, 4, 4], [2, 2, 2, 5, 5], [3, 3, 3, 6, 6]]) |
See Also |