
Last chance! 50% off unlimited learning
Sale ends in
"symmetricMatrix"
,
from the package The main use is in methods (and C functions) that can deal with all symmetric matrices.
"Matrix"
, directly.symmetricMatrix_validity()
called by the internal validity checking functions.triangularMatrix
, and, e.g.,
dsyMatrix
for numeric dense matrices, or
lsCMatrix
for a logical sparse matrix class.showClass("symmetricMatrix")
## The names of direct subclasses:
scl <- getClass("symmetricMatrix")@subclasses
directly <- sapply(lapply(scl, slot, "by"), length) == 0
names(scl)[directly]
Run the code above in your browser using DataLab