Math Genius: Diagonal Elements of Inverse of Symmetric Matrix.

Original Source Link

Is there any shortcuts to calculate diagonal elements of the inverse of a symmetric matrix:

$$diag(X^Tcdot X)^{-1} = ?$$

Probably X is a sparse matrix.

($$X^{T}X$$ – symmetric matrix)