Matrix (version 0.99-3)

lsyMatrix-class: Symmetric Dense Logical Matrices

Description

The "lsyMatrix" class is the class of symmetric, dense logical matrices in non-packed storage and "lspMatrix" is the class of of these in packed storage. Only the upper triangle or the lower triangle is stored.

Arguments

Objects from the Class

Objects can be created by calls of the form new("lsyMatrix", ...).

Extends

"lsyMatrix" extends class "lgeMatrix", directly, whereas "lspMatrix" extends class "ldenseMatrix", directly.

Both extend class "symmetricMatrix", directly, and class "Matrix" and others, indirectly, use showClass("lsyMatrix"), e.g., for details.

Methods

Currently, mainly t() and coercion methods (for as(.); use, e.g., showMethods(class="dsyMatrix") for details.

See Also

lgeMatrix-class, Matrix-class, t

Examples

Run this code
## Only upper triangular part matters (when uplo == "U" as per default)
(sy2 <- new("lsyMatrix", Dim = as.integer(c(2,2)),
            x = c(TRUE, NA,FALSE,FALSE)))

Run the code above in your browser using DataCamp Workspace