dgBCMatrix-class {Matrix}R Documentation

Class "dgBCMatrix" Real Sparse Blocked Column Compressed Matrix

Description

The dgCMatrix class is a class of sparse blocked 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("dgBCMatrix", ...).

Objects in this class have a structure similar to those in the dgCMatrix 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 in the lme4 package.

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 = "dgBCMatrix", to = "dgCMatrix")
coerce
signature(from = "dgBCMatrix", to = "dgTMatrix")
coerce
signature(from = "dgBCMatrix", to = "dgeMatrix")
coerce
signature(from = "dgBCMatrix", to = "matrix")
coerce
signature(from = "dgCMatrix", to = "dgBCMatrix")

See Also

dgCMatrix-class


[Package Matrix version 0.95-5 Index]