I have a large matrix in the following form: $M=\begin{bmatrix} A_{11}& {A}_{12}&...&A_{1N}\\A_{21}& {A}_{22}&...&A_{2N}\\...&...&...&...\\A_{N1}& {A}_{N2}&...&A_{NN} \end{bmatrix}$,
where $A_{ij}=A_{ji}$, and each $A_{ij}$ is a diagonal block matrix of the form: $A_{ij}=\begin{bmatrix} a_{11}& 0&...&0\\0& {a}_{22}&...&0\\...&...&...&...\\0& 0&...&a_{NN} \end{bmatrix}$.
All the diagonal entries of $A_{ij}$ are positive, and thus each $A_{ij}$ is a positive definite.
Now, I want to check if the matrix $M$ is positive definite. I think with its special form, there should be a practical way to check its definiteness. I have try the followings:
Diagonal dominant: The matrix $M$ also has an interesting characteristic. Let $m_{ij}$ be the entries of $M$. The sum of the off-diagonal entries on each row is exactly $(N-1)$ times the diagonal entries. So if $N>3$ the matrix is not diagonal dominant.
Cholesky decomposition: I have tried to check the square roots but the number of elements inside the square root increases as $i,j$ increase so it becomes impractical.
So, I want to ask if there is any efficient way to check if $M$ is positive definite. Thank you.