packedMatrix-class | R Documentation |
"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"
.
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.
signature(x = "packedMatrix")
: ...
signature(x = "packedMatrix")
: ...
signature(object = "packedMatrix")
: ...
signature(object = "packedMatrix")
: ...
signature(object = "packedMatrix")
: ...
signature(x = "packedMatrix")
: ...
signature(x = "packedMatrix")
: ...
signature(x = "packedMatrix")
: ...
Mikael Jagan
pack
and unpack
; its virtual "complement"
"unpackedMatrix"
; its proper subclasses
"dspMatrix"
, "ltpMatrix"
, etc.
showClass("packedMatrix")
showMethods(classes = "packedMatrix")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.