The WoodburyMatrix is a virtual class, contained by both
GWoodburyMatrix (for general matrices) and SWoodburyMatrix
(for symmetric matrices). See WoodburyMatrix for construction
of these classes. The methods available for these classes are described
below; see also the solve methods. This class is itself a subclass of
Matrix, so basic matrix methods like
nrow, ncol, dim and so on also work.
Sub-class representing a generic matrix.
Sub-class representing a symmetric matrix. Also subclasses symmetricMatrix.
# S4 method for GWoodburyMatrix
isSymmetric(object)# S4 method for SWoodburyMatrix
isSymmetric(object)
# S4 method for GWoodburyMatrix,ANY
%*%(x, y)
# S4 method for SWoodburyMatrix,ANY
%*%(x, y)
# S4 method for GWoodburyMatrix
t(x)
# S4 method for SWoodburyMatrix
t(x)
WoodburyMatrix object
WoodburyMatrix object
Matrix or vector
isSymmetric(GWoodburyMatrix): Check for symmetry of matrix; always returns
FALSE.
isSymmetric(SWoodburyMatrix): Check for symmetry of matrix; always returns
TRUE.
x %*% y: Matrix multiplication (generally fast and
x %*% y: Matrix multiplication (generally fast and
t(GWoodburyMatrix): Return the transpose of the matrix as
another GWoodburyMatrix.
t(SWoodburyMatrix): Does nothing, just returns x.
An x n subclass of Matrix
(GWoodburyMatrix) or symmetricMatrix
(SWoodburyMatrix).
Bp x p subclass of Matrix
(GWoodburyMatrix) or symmetricMatrix
(SWoodburyMatrix).
Un x p subclass of Matrix (only for
Vp x m subclass of Matrix (only for
Xn x p subclass of Matrix (only for
Op x p subclass of Matrix
WoodburyMatrix for object construction, Matrix (the parent of this class).