excursions.variances
calculates the diagonal of the inverse of a sparse
symmetric positive definite matrix Q
.
Details
The method for calculating the
diagonal requires the Cholesky factor, L
, of Q
, which should be supplied if
available. If Q
is provided, the cholesky factor is
calculated and the variances are then returned in the same ordering as Q
.
If L
is provided, the variances are returned in the same ordering as L
,
even if L@invpivot
exists.
Author
David Bolin davidbolin@gmail.com