chol2inv_ii | R Documentation |
Only calculate values of a sparse matrix inverse corresponding to non-zero locations for the Cholesky factorization.
chol2inv_ii(L, Z = NULL)
L |
A lower-triangle Cholesky factorization ($L L' = C$). |
Z |
A sparse matrix containing the partial inverse of $L L'$ from a previous call to the function. Must contain the “Zdiagp” attribute. |
If $L L' = C$, function efficiently gives diag(Cinv) by only calculating elements of Cinv based on non-zero elements of $L$ and $L$. Follows the method and equations by Takahashi et al. (1973).
A sparse matrix containing the partial inverse of C ($L L'$)
along with attribute “Zdiagp” indicating the location for diagonals
of Z in slot x
of the object Z
.
Takahashi, Fagan, & Chin. 1973. Formation of a sparse bus impedance matrix and its application to short circuit study. 8th PICA Conference Proceedings, Minneapolis, MN.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.