ndenseMatrix-class function

Virtual Class "ndenseMatrix" of Dense Logical Matrices

Virtual Class "ndenseMatrix" of Dense Logical Matrices

ndenseMatrix is the virtual class of all dense l ogical (S4) matrices. It extends both denseMatrix

and lMatrix directly.

class

Slots

  • x:: logical vector containing the entries of the matrix.
  • Dim, Dimnames:: see Matrix.

Extends

Class "nMatrix", directly. Class "denseMatrix", directly. Class "Matrix", by class "nMatrix". Class "Matrix", by class "denseMatrix".

Methods

  • %*%: signature(x = "nsparseMatrix", y = "ndenseMatrix"): ...
  • %*%: signature(x = "ndenseMatrix", y = "nsparseMatrix"): ...
  • crossprod: signature(x = "nsparseMatrix", y = "ndenseMatrix"): ...
  • crossprod: signature(x = "ndenseMatrix", y = "nsparseMatrix"): ...
  • as.vector: signature(x = "ndenseMatrix", mode = "missing"): ...
  • diag: signature(x = "ndenseMatrix"): extracts the diagonal as for all matrices, see the generic diag().
  • which: signature(x = "ndenseMatrix"), semantically equivalent to base function which(x, arr.ind); for details, see the lMatrix class documentation.

See Also

Class ngeMatrix and the other subclasses.

Examples

showClass("ndenseMatrix") as(diag(3) > 0, "ndenseMatrix")# -> "nge"
  • Maintainer: Martin Maechler
  • License: GPL (>= 2) | file LICENCE
  • Last published: 2025-03-11

Downloads (last 30 days):