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.
Arguments
- x
as in "Matrix"
- a
as in "Matrix"
- b
as in "Matrix"
- rank
rank of the matrix to be factorized.
- dimnames
optional - the list of names for the matrix
- ...
as in "Matrix"
Slots
x
a sparse matrix
a
a low-rank factor or a matrix
b
optional. a low-rank factor for
a %*% t(b)
. ifb
is not provided, a will be factorized usingirlba
providedfactorize = TRUE
See also
Methods are documented in splrMatrix_method. Other relevant methods are splr_sparse_plus_constant and