dgBCMatrix-class {Matrix} | R Documentation |
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 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.
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
:"array"
- the non-zero
elements of the matrix. This is a three-dimensional array with
the third dimension being nnzero.signature(from = "dgBCMatrix", to = "dgCMatrix")
signature(from = "dgBCMatrix", to = "dgTMatrix")
signature(from = "dgBCMatrix", to = "dgeMatrix")
signature(from = "dgBCMatrix", to = "matrix")
signature(from = "dgCMatrix", to = "dgBCMatrix")