dtCMatrix-class {Matrix}R Documentation

Triangular, compressed, sparse column matrices

Description

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 from the Class

Objects can be created by calls of the form new("dtCMatrix", ...) or calls of the form new("dtTMatrix", ...).

Slots

uplo:
A character object indicating if the matrix is upper triangular ("U" or "u") or lower triangular ("L" or "l").
p:
Object of class "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:
Object of class "integer" of length nnzero (number of non-zero elements). These are the row numbers for each non-zero element in the matrix.
j:
Object of class "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:
Object of class "numeric" - the non-zero elements of the matrix.
factors:
Object of class "list" - a list of factorizations of the matrix.
Dim:
Object of class "integer" - the dimensions of the matrix - must be an integer vector with exactly two non-negative values.

Extends

Class "dgCMatrix", directly.

Methods

coerce
signature(from = "dtCMatrix", to = "dgTMatrix")
coerce
signature(from = "dtCMatrix", to = "dgeMatrix")
coerce
signature(from = "dtTMatrix", to = "dgeMatrix")
coerce
signature(from = "dtTMatrix", to = "dtrMatrix")
coerce
signature(from = "dtTMatrix", to = "matrix")
t
signature(x = "dtCMatrix"): returns the transpose of x
t
signature(x = "dtTMatrix"): returns the transpose of x

See Also

dgCMatrix-class, dgTMatrix-class, dgeMatrix-class, dtrMatrix-class


[Package Matrix version 0.95-5 Index]