matrix.eager_cov | R Documentation |
Creates an eager covariance matrix.
matrix.eager_cov(mat, n_threads = 1)
mat |
A dense matrix to be used with the |
n_threads |
Number of threads. |
The dense covariance matrix. This matrix is exactly t(mat)%*%mat
, computed with some efficiency.
n <- 100
p <- 20
mat <- matrix(rnorm(n * p), n, p)
out <- matrix.eager_cov(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.