MatrixFactorization-class {Matrix} | R Documentation |
The class "MatrixFactorization"
is the virtual (super) class of
(potentially) all matrix factorizations of matrices from package
Matrix.
The class "CholeskyFactorization"
is the virtual class of all
Cholesky decompositions from Matrix (and trivial sub class of
"MatrixFactorization"
).
A virtual Class: No objects may be created from it.
Dim
:Object of class "integer"
- the dimensions
of the original matrix - must be an integer vector with exactly two
non-negative values.
(x)
simply returns x@Dim
, see above.
signature(x = "MatrixFactorization")
: this has
not been implemented yet for all matrix factorizations. It should
return a list whose components are matrices which when multiplied
return the original Matrix
object.
signature(object = "MatrixFactorization")
: simple
printing, see show
.
signature(a = "MatrixFactorization", b= .)
: solve
A x = b for x; see solve-methods
.
classes inheriting from "MatrixFactorization"
, such as
LU
,
Cholesky
,
CHMfactor
, and
sparseQR
.
showClass("MatrixFactorization") getClass("CholeskyFactorization")