cscBlocked-class {Matrix} | R Documentation |
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 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
.
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 = "cscBlocked", to = "cscMatrix")
signature(from = "cscBlocked", to = "tripletMatrix")
signature(from = "cscMatrix", to = "cscBlocked")