Description Usage Arguments Value
An Rcpp function that computes the matrix inverse of XtX + D_pos.
1 | quick_solve(XtX_inv, D_pos, vec_draw)
|
XtX_inv |
A precomputed (M x M) matrix inverse. |
D_pos |
A (M x 1) vector of the square root of the diagonal entries in the D matrix. |
vec_draw |
A (M x 1) vector drawn from a multivariate normal distribution. |
The solution to (XtX + D)*U = vec_draw.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.