Virtual Class "unpackedMatrix" of Unpacked Dense Matrices
unpackedMatrix-class.RdClass "unpackedMatrix" is the virtual class of dense
matrices in "unpacked" format, storing all m*n elements of
an m-by-n matrix. It is used to define common methods
for efficient subsetting, transposing, etc. of its proper
subclasses: currently "[dln]geMatrix" (unpacked general),
"[dln]syMatrix" (unpacked symmetric), "[dln]trMatrix"
(unpacked triangular), and subclasses of these, such as
"dpoMatrix".
Slots
Dim,Dimnames:as all
Matrixobjects.
Extends
Class "denseMatrix", directly.
Class "Matrix", by class "denseMatrix",
distance 2.
Methods
- pack
signature(x = "unpackedMatrix"): ...- unpack
signature(x = "unpackedMatrix"): ...- isSymmetric
signature(object = "unpackedMatrix"): ...- isTriangular
signature(object = "unpackedMatrix"): ...- isDiagonal
signature(object = "unpackedMatrix"): ...- t
signature(x = "unpackedMatrix"): ...- diag
signature(x = "unpackedMatrix"): ...- diag<-
signature(x = "unpackedMatrix"): ...
See also
pack and unpack; its virtual "complement"
"packedMatrix"; its proper subclasses
"dsyMatrix", "ltrMatrix", etc.
Examples
showClass("unpackedMatrix")
#> Virtual Class "unpackedMatrix" [package "Matrix"]
#>
#> Slots:
#>
#> Name: Dim Dimnames
#> Class: integer list
#>
#> Extends:
#> Class "denseMatrix", directly
#> Class "Matrix", by class "denseMatrix", distance 2
#>
#> Known Subclasses:
#> Class "ngeMatrix", directly
#> Class "nsyMatrix", directly
#> Class "ntrMatrix", directly
#> Class "lgeMatrix", directly
#> Class "lsyMatrix", directly
#> Class "ltrMatrix", directly
#> Class "dgeMatrix", directly
#> Class "dsyMatrix", directly
#> Class "dtrMatrix", directly
#> Class "dpoMatrix", by class "dsyMatrix", distance 2
#> Class "corMatrix", by class "dsyMatrix", distance 3
showMethods(classes = "unpackedMatrix")
#>
#> Function "as.matrix.coo":
#> <not an S4 generic function>
#>
#> Function "as.matrix.csc":
#> <not an S4 generic function>
#>
#> Function "as.matrix.csr":
#> <not an S4 generic function>
#>
#> Function "as.matrix.ssc":
#> <not an S4 generic function>
#>
#> Function "as.matrix.ssr":
#> <not an S4 generic function>
#>
#> Function "asJSON":
#> <not an S4 generic function>
#>
#> Function "backsolve":
#> <not an S4 generic function>
#> Function: coerce (package methods)
#> from="Matrix", to="unpackedMatrix"
#> from="dgeMatrix", to="unpackedMatrix"
#> from="dpoMatrix", to="unpackedMatrix"
#> from="dsyMatrix", to="unpackedMatrix"
#> from="dtrMatrix", to="unpackedMatrix"
#> from="lgeMatrix", to="unpackedMatrix"
#> from="lsyMatrix", to="unpackedMatrix"
#> from="matrix", to="unpackedMatrix"
#> from="sparseVector", to="unpackedMatrix"
#> from="vector", to="unpackedMatrix"
#>
#> Function: cov2cor (package stats)
#> V="unpackedMatrix"
#>
#>
#> Function "forwardsolve":
#> <not an S4 generic function>
#>
#> Function "model.guess":
#> <not an S4 generic function>
#>
#> Function "model.matrix":
#> <not an S4 generic function>
#>
#> Function "model.response":
#> <not an S4 generic function>
#>
#> Function "model.xexact":
#> <not an S4 generic function>
#> Function: pack (package Matrix)
#> x="unpackedMatrix"
#>
#> Function: unpack (package Matrix)
#> x="unpackedMatrix"
#>