QR/LQ-based SVD. Useful for very tall/skinny or short/wide data.

linalg_qrsvd(x, s, u = NULL, vt = NULL)

Arguments

x

Input data. The input values are overwritten.

s

Singular values.

u, vt

The left/right singular vectors. Should both be NULL or matrices of the same backend and fundamental type as x.