facmul.qr.Matrix(x, factor, y, transpose = F, left = T, ncols, full = T, tune)
The orthonormal/unitary factor in an "qr.Matrix" object is stored in a compact form representing elementary transformations whose product give the full factor. This function enables products involving this to be obtained efficiently without its explicit formation.
x <- Matrix( rnorm(36), nrow = 9, ncol = 4) z <- qr(x, pivot = T) # QR factorization of x max(abs(facmul(z,"Q", facmul(z,"R")) - x[,z$pivot])) # test product of Q and R