matrix.lazy_cov {adelie}R Documentation

Creates a lazy covariance matrix.

Description

Creates a lazy covariance matrix.

Usage

matrix.lazy_cov(mat, n_threads = 1)

Arguments

mat

The data matrix.

n_threads

Number of threads.

Value

Lazy covariance matrix.

Examples

n <- 100
p <- 20
mat <- matrix(rnorm(n * p), n, p)
out <- matrix.lazy_cov(mat)

[Package adelie version 1.0.1 Index]