CHMfactor-class {Matrix} | R Documentation |
The virtual class "CHMfactor"
is a class of
CHOLMOD-based Cholesky factorizations of symmetric, sparse,
compressed, column-oriented matrices. Such a factorization is
simplicial (virtual class "CHMsimpl"
) or supernodal (virtual
class "CHMsuper"
). Objects that inherit from these classes are
either numeric factorizations (classes "dCHMsimpl"
and
"dCHMsuper"
) or symbolic factorizations (classes
"nCHMsimpl"
and "nCHMsuper"
).
Objects can be created by calls of the form new("dCHMsuper", ...)
but are more commonly created via Cholesky()
.
applied to dsCMatrix
or
lsCMatrix
objects.
of all "CHMfactor"
and all classes inheriting from it:
perm
:"integer"
giving the
permutation of the rows and columns chosen to reduce fill-in and
for post-ordering.colcount
:"integer"
.... type
:"integer"
.... Slots of the non virtual classes “[dl]CHM(super|simpl)”:
p
:"integer"
of pointers, one
for each column, to the initial (zero-based) index of elements in
the column. Only present in classes that contain "CHMsimpl"
.i
:"integer"
of length nnzero
(number of non-zero elements). These are the row numbers for
each non-zero element in the matrix. Only present in classes that
contain "CHMsimpl"
.x
:"d*"
classes: "numeric"
- the
non-zero elements of the matrix.signature(from = "CHMfactor", to = "sparseMatrix")
Class dgCMatrix