https://github.com/cran/Matrix
Raw File
Tip revision: 9ef16fbfd927fc58eceef97a0f53be562351398a authored by Douglas Bates on 23 October 2006, 00:00:00 UTC
version 0.9975-5
Tip revision: 9ef16fb
RsparseMatrix-class.Rd
\name{RsparseMatrix-class}
\docType{class}
\alias{RsparseMatrix-class}
%% No methods currently !
\title{Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form}
\description{The \code{"RsparseMatrix"} class is the virtual class of
  all sparse matrices coded in sorted compressed row-oriented form.
  Since it is a virtual class, no objects may be created from it.  See
  \code{showClass("RsparseMatrix")} for its subclasses.
}
\section{Slots}{
  \describe{
    \item{\code{j}:}{Object of class \code{"integer"} of length \code{nnzero}
      (number of non-zero elements).  These are the row numbers for
      each non-zero element in the matrix.}
    \item{\code{p}:}{Object of class \code{"integer"} of pointers, one
      for each row, to the initial (zero-based) index of elements in
      the row.}
    \item{\code{Dim}, \code{Dimnames}:}{inherited from
      the superclass, see \code{\linkS4class{sparseMatrix}}.}
  }
}
\section{Extends}{
  Class \code{"sparseMatrix"}, directly.
  Class \code{"Matrix"}, by class \code{"sparseMatrix"}.
}
\section{Methods}{
  \bold{NO} methods are defined currently, since we rather use the
  \code{\linkS4class{CsparseMatrix}} in \pkg{Matrix}.
%   \describe{
%     \item{crossprod}{\code{signature(x = "RsparseMatrix", y = "missing")}: ... }
%     \item{t}{\code{signature(x = "RsparseMatrix")}: ... }
%     \item{tcrossprod}{\code{signature(x = "RsparseMatrix", y = "missing")}: ... }
%     \item{\%*\%}{\code{signature(x = "RsparseMatrix", y =
% 	"RsparseMatrix")}: ...}
%     \item{\%*\%}{\code{signature(x = "RsparseMatrix", y = "denseMatrix")}: ...}
%   }
}
\seealso{
  its superclass, \code{\linkS4class{sparseMatrix}}, and, e.g., class
  \code{\linkS4class{dgRMatrix}} for the links to other classes.
}
\examples{
showClass("RsparseMatrix")
}
\keyword{classes}
back to top