"packedMatrix"
of Packed Dense MatricesClass "packedMatrix"
is the virtual class of dense
symmetric or triangular matrices in "packed" format, storing only
the choose(n+1,2) == n*(n+1)/2
elements of the upper or
lower triangle of an n
-by-n
matrix. It is used to
define common methods for efficient subsetting, transposing, etc.
of its proper subclasses: currently "[dln]spMatrix"
(packed symmetric), "[dln]tpMatrix"
(packed triangular),
and subclasses of these, such as
"dppMatrix"
,
"pCholesky"
, and
"pBunchKaufman"
.
uplo
:"character"
; either "U", for upper triangular, and "L", for lower.
Dim
, Dimnames
:as all Matrix
objects.
Class "denseMatrix"
, directly.
Class "Matrix"
, by class "denseMatrix"
,
distance 2.
Class "mMatrix"
, by class "Matrix"
, distance 3.
Class "replValueSp"
, by class "Matrix"
, distance 3.
signature(x = "packedMatrix")
: ...
signature(x = "packedMatrix")
: ...
signature(object = "packedMatrix")
: ...
signature(object = "packedMatrix")
: ...
signature(object = "packedMatrix")
: ...
signature(x = "packedMatrix")
: ...
signature(x = "packedMatrix")
: ...
signature(x = "packedMatrix")
: ...
signature(x = "packedMatrix", i = "missing", j = "missing", drop = "missing")
: ...
signature(x = "packedMatrix", i = "NULL", j = "missing", drop = "missing")
: ...
signature(x = "packedMatrix", i = "index", j = "missing", drop = "missing")
: ...
signature(x = "packedMatrix", i = "matrix", j = "missing", drop = "missing")
: ...
signature(x = "packedMatrix", i = "lMatrix", j = "missing", drop = "missing")
: ...
signature(x = "packedMatrix", i = "missing", j = "NULL", drop = "missing")
: ...
signature(x = "packedMatrix", i = "NULL", j = "NULL", drop = "missing")
: ...
signature(x = "packedMatrix", i = "index", j = "NULL", drop = "missing")
: ...
signature(x = "packedMatrix", i = "matrix", j = "NULL", drop = "missing")
: ...
signature(x = "packedMatrix", i = "lMatrix", j = "NULL", drop = "missing")
: ...
signature(x = "packedMatrix", i = "missing", j = "index", drop = "missing")
: ...
signature(x = "packedMatrix", i = "NULL", j = "index", drop = "missing")
: ...
signature(x = "packedMatrix", i = "index", j = "index", drop = "missing")
: ...
signature(x = "packedMatrix", i = "matrix", j = "index", drop = "missing")
: ...
signature(x = "packedMatrix", i = "lMatrix", j = "index", drop = "missing")
: ...
signature(x = "packedMatrix", i = "missing", j = "missing", drop = "logical")
: ...
signature(x = "packedMatrix", i = "NULL", j = "missing", drop = "logical")
: ...
signature(x = "packedMatrix", i = "index", j = "missing", drop = "logical")
: ...
signature(x = "packedMatrix", i = "matrix", j = "missing", drop = "logical")
: ...
signature(x = "packedMatrix", i = "lMatrix", j = "missing", drop = "logical")
: ...
signature(x = "packedMatrix", i = "missing", j = "NULL", drop = "logical")
: ...
signature(x = "packedMatrix", i = "NULL", j = "NULL", drop = "logical")
: ...
signature(x = "packedMatrix", i = "index", j = "NULL", drop = "logical")
: ...
signature(x = "packedMatrix", i = "matrix", j = "NULL", drop = "logical")
: ...
signature(x = "packedMatrix", i = "lMatrix", j = "NULL", drop = "logical")
: ...
signature(x = "packedMatrix", i = "missing", j = "index", drop = "logical")
: ...
signature(x = "packedMatrix", i = "NULL", j = "index", drop = "logical")
: ...
signature(x = "packedMatrix", i = "index", j = "index", drop = "logical")
: ...
signature(x = "packedMatrix", i = "matrix", j = "index", drop = "logical")
: ...
signature(x = "packedMatrix", i = "lMatrix", j = "index", drop = "logical")
: ...
Mikael Jagan
pack
and unpack
; its virtual "complement"
"unpackedMatrix"
; its proper subclasses
"dspMatrix"
, "ltpMatrix"
, etc.
showClass("packedMatrix")
showMethods(classes = "packedMatrix")
Run the code above in your browser using DataLab