So I want to calculate the inverse and determinant of a block matrix ($n\times n$) with diagonal matrices (of same size) as block. Although I have a general idea as to how to calculate the determinant. I can't find anything relevant to find the inverse of such a matrix.
I plan to calculate the determinant by first rearranging the columns, rows to make this matrix a diagonal block matrix, then will calculate the determinant of each of the blocks and multiply them.
Any help in how to calculate the inverse as well as whether my approach to calculating determinant is correct or not is greatly appreciated.
TIA.