Stores the rank-k truncated singular value decomposition of
an aMatrix as returned by svd_factor. Left and
right singular vectors are kept as base R matrices so they are
always host-accessible; optional adgeMatrix copies of
t(u) and v may be present for GPU-accelerated
projection.
Slots
uNumeric matrix of left singular vectors;
nrow(u)equals the number of rows of the source matrix andncol(u)equalsk.dNumeric vector of singular values of length
k, in descending order.vNumeric matrix of right singular vectors;
nrow(v)equals the number of columns of the source matrix andncol(v)equalsk.kInteger; the requested rank.
methodCharacter string; one of
"exact","rsvd", or"subspace".engineCharacter string identifying the low-level solver used (e.g.,
"exact_svd","irlba_svdr","backend_rsvd").source_idCharacter string; the
object_idof the sourceaMatrix.precisionCharacter string;
"strict"or"fast".backendCharacter string; the backend that computed the SVD.
ut_amEither an
adgeMatrixholdingt(u)for GPU matrix-multiply routing, orNULLon CPU paths.v_amEither an
adgeMatrixholdingvfor GPU matrix-multiply routing, orNULLon CPU paths.