Computes V %*% (Z / d), mapping coordinates in the
rank-k SVD subspace back to the original column space.
Routes through a GPU backend when the factor was computed in
"fast" precision and a device copy of V is available.
Arguments
- factor
An
amSVDobject fromsvd_factor.- Z
Numeric matrix or vector with
nrow(Z)equal tofactor@k.
Examples
m <- matrix(rnorm(30), nrow = 6)
A <- adgeMatrix(m)
fac <- svd_factor(A, k = 2L)
coords <- svd_project(fac, m)
approx <- svd_reconstruct(fac, coords)