A block matrix is a matrix that is defined using smaller matrices, called blocks. For example,
(1)
|
where , , , and are themselves matrices, is a block matrix. In the specific example
(2)
| |||
(3)
| |||
(4)
| |||
(5)
|
therefore, it is the matrix
(6)
|
Block matrices can be created using ArrayFlatten.
When two block matrices have the same shape and their diagonal blocks are square matrices, then they multiply similarly to matrix multiplication. For example,
(7)
|
Note that the usual rules of matrix multiplication hold even when the block matrices are not square (assuming that the block sizes correspond). Of course, matrix multiplication is in general not commutative, so in these block matrix multiplications, it is important to keep the correct order of the multiplications.
When the blocks are square matrices, the set of invertible block matrices is a group isomorphic to the general linear group , where is the ring of square matrices.