cscBlocked-class {Matrix}R Documentation

Class "cscBlocked" compressed, sparse, blocked Matrix

Description

The cscMatrix class is a class of sparse matrices in the compressed, sparse, column-oriented format. In this implementation the non-zero elements in the columns are sorted into increasing row order.

Objects from the Class

Objects can be created by calls of the form new("cscBlocked", ...).

Objects in this class have a structure similar to those in the cscMatrix class except that each nonzero "element" is itself a dense matrix with a given number of rows and columns. These objects are used in the representation of linear mixed-effects model structures, lmeRep.

Slots

p:
Object of class "integer" of pointers, one for each column, to the initial (zero-based) index of elements in the column.
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.
x:
Object of class "array" - the non-zero elements of the matrix. This is a three-dimensional array with the third dimension being nnzero.

Methods

coerce
signature(from = "cscBlocked", to = "cscMatrix")
coerce
signature(from = "cscBlocked", to = "tripletMatrix")
coerce
signature(from = "cscMatrix", to = "cscBlocked")

See Also

cscMatrix-class, lmeRep-class


[Package Matrix version 0.8-21 Index]