dtCMatrix-class {Matrix} | R Documentation |
The dtCMatrix
class is a class of triangular, sparse
matrices in the compressed, column-oriented format. In this
implementation the non-zero elements in the columns are sorted into
increasing row order. The dtTMatrix
class is a class of
triangular, sparse matrices in triplet format.
Objects can be created by calls of the form new("dtCMatrix",
...)
or calls of the form new("dtTMatrix", ...)
.
uplo
:"U"
or "u"
) or lower triangular
("L"
or "l"
).p
:"integer"
of pointers, one
for each column, to the initial (zero-based) index of elements in
the column. (Only present in the dtCMatrix
class.)i
:"integer"
of length nnzero
(number of non-zero elements). These are the row numbers for
each non-zero element in the matrix.j
:"integer"
of length nnzero
(number of non-zero elements). These are the column numbers for
each non-zero element in the matrix. (Only present in the
dtTMatrix
class.)x
:"numeric"
- the non-zero
elements of the matrix.factors
:"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 "dgCMatrix"
, directly.
signature(from = "dtCMatrix", to = "dgTMatrix")
signature(from = "dtCMatrix", to = "dgeMatrix")
signature(from = "dtTMatrix", to = "dgeMatrix")
signature(from = "dtTMatrix", to = "dtrMatrix")
signature(from = "dtTMatrix", to = "matrix")
signature(x = "dtCMatrix")
: returns the transpose of
x
signature(x = "dtTMatrix")
: returns the transpose of
x
dgCMatrix-class
, dgTMatrix-class
,
dgeMatrix-class
, dtrMatrix-class