powered by
Creates an eager covariance matrix.
matrix.eager_cov(mat, n_threads = 1)
The dense covariance matrix. This matrix is exactly t(mat)%*%mat, computed with some efficiency.
t(mat)%*%mat
A dense matrix to be used with the gaussian_cov() solver.
gaussian_cov()
Number of threads.
n <- 100 p <- 20 mat <- matrix(rnorm(n * p), n, p) out <- matrix.eager_cov(mat)
Run the code above in your browser using DataLab