An "S4" class for efficient computation with sparse plus
low-rank matrices. Stores sparse plus low-rank matrices
(e.g. from matrix factorization or centering graphs)
of the form x + a %*% t(b) for faster
computation.
splr(x, a = NULL, b = NULL, rank = NULL, dimnames = list(NULL, NULL), ...)# S4 method for Matrix,Matrix,Matrix
splr(x, a = NULL, b = NULL, rank = NULL, dimnames = list(NULL, NULL), ...)
splrMatrix object
splrMatrix object
as in "Matrix"
as in "Matrix"
as in "Matrix"
rank of the matrix to be factorized.
optional - the list of names for the matrix
as in "Matrix"
xa sparse matrix
aa low-rank factor or a matrix
boptional. a low-rank factor for a %*% t(b). if b is not provided, a will be factorized using
irlba provided factorize = TRUE
Methods are documented in splrMatrix_method. Other relevant methods are splr_sparse_plus_constant and