sscMatrix-class {Matrix} | R Documentation |
The sscMatrix
class is a class of symmetric, sparse
matrices in the compressed, column-oriented format. In this
implementation the non-zero elements in the columns are sorted into
increasing row order.
Objects can be created by calls of the form new("sscMatrix", ...)
.
uplo
:"U"
or "u"
) or the lower triangle
("L"
or "l"
) is stored. At present only the lower
triangle form is allowed.p
:"integer"
of pointers, one
for each column, to the initial (zero-based) index of elements in
the column.i
:"integer"
of length nnzero
(number of non-zero elements). These are the row numbers for
each non-zero element in the matrix.x
:"numeric"
- the non-zero
elements of the matrix.factorization
:"list"
- a list
of factorizations of the matrix. Dim
:"integer"
- the dimensions
of the matrix - must be an integer vector with exactly two
non-negative values.
Class "cscMatrix"
, directly.
signature(a = "sscMatrix", b = "matrix")
: Solve
a linear system of equations defined by x
using a Cholesky
decomposition.signature(x = "sscMatrix", pivot = "logical")
:
Returns (and stores) the Cholesky decomposition of the matrix
x
. If pivot
is TRUE
(the default) Metis is
used to create a reordering of the rows and columns of x
so
as to minimize fill-in.signature(from = "sscMatrix", to = "tripletMatrix")
signature(from = "sscMatrix", to = "geMatrix")
cscMatrix-class
, tripletMatrix-class
,
geMatrix-class