chol2inv | R Documentation |
Return the inverse of the original matrix using the Cholesky factorization of a float vector/matrix.
## S4 method for signature 'float32'
chol2inv(x, size = NCOL(x), LINPACK = FALSE)
x |
A float vector/matrix. |
size |
The number of columns to use. |
LINPACK |
Ignored. |
A float vector/matrix.
library(float)
s = flrunif(10, 3)
cp = crossprod(s)
cp %*% chol2inv(chol(cp))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.