Skip to contents

[Experimental] GPU-accelerated pairwise column co-variance calculation.

Usage

rs_cov_gpu(x, backend = "wgpu", verbose)

Arguments

x

Numerical matrix. The matrix for which to calculate the column pairwise covariance matrix.

backend

String. "wgpu" or "mlx" (Apple Silicon, needs a build with the MLX backend, see mlx_available()).

verbose

Boolean. Controls verbosity of the function.

Value

The covariance matrix