| ndenseMatrix-class {Matrix} | R Documentation |
ndenseMatrix is the virtual class of all dense logical
(S4) matrices. It extends both denseMatrix
and lMatrix directly.
x:Dim, Dimnames:Matrix.
Class "lMatrix", directly.
Class "denseMatrix", directly.
Class "Matrix", by class "lMatrix".
Class "Matrix", by class "denseMatrix".
signature(x = "nsparseMatrix", y = "ndenseMatrix"): ... signature(x = "ndenseMatrix", y = "nsparseMatrix"): ... signature(from = "matrix", to = "ndenseMatrix"): ... signature(from = "ndenseMatrix", to = "matrix"): ... signature(x = "nsparseMatrix", y = "ndenseMatrix"): ... signature(x = "ndenseMatrix", y = "nsparseMatrix"): ... signature(x = "ndenseMatrix", mode = "missing"): ...signature(x = "ndenseMatrix"): extracts the
diagonal as for all matrices, see the generic diag().
Class ngeMatrix and the other subclasses.
showClass("ndenseMatrix")
as(diag(3) > 0, "ndenseMatrix")# -> "nge"