Description Usage Arguments Details Value Author(s) Examples
excursions.variances
calculates the diagonal of the inverse of a sparse
symmetric positive definite matrix Q
.
1 | excursions.variances(L, Q, max.threads = 0)
|
L |
Cholesky factor of precision matrix. |
Q |
Precision matrix. |
max.threads |
Decides the number of threads the program can use. Set to 0 for using the maximum number of threads allowed by the system (default). |
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.
A vector with the variances.
David Bolin davidbolin@gmail.com
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.