matrix.eager_cov {adelie} | R Documentation |
Creates an eager covariance matrix.
Description
Creates an eager covariance matrix.
Usage
matrix.eager_cov(mat, n_threads = 1)
Arguments
mat |
A dense matrix to be used with the |
n_threads |
Number of threads. |
Value
The dense covariance matrix. This matrix is exactly t(mat)%*%mat
, computed with some efficiency.
Examples
n <- 100
p <- 20
mat <- matrix(rnorm(n * p), n, p)
out <- matrix.eager_cov(mat)
[Package adelie version 1.0.8 Index]