SCM Repository

[matrix] View of /pkg/man/sparseMatrix-class.Rd
ViewVC logotype

View of /pkg/man/sparseMatrix-class.Rd

Parent Directory Parent Directory | Revision Log Revision Log

Revision 871 - (download) (as text) (annotate)
Fri Aug 26 17:26:49 2005 UTC (14 years ago) by maechler
File size: 1537 byte(s)
Version 0.98-6: "[" methods for dense matrices; first "[<-"; examples
\title{Virtual Class "sparseMatrix" --- Mother of Sparse Matrices}
\description{Virtual Mother Class of All Sparse Matrices}
  \code{Dim}, and \code{Dimnames}, see \code{\link{Matrix-class}}.
% Should this be "written in stone" or should they be added?
%   Note that the current implementation keeps \code{Dimnames} empty for
%   sparse matrices.
  Class \code{"Matrix"}, directly.
    \item{show}{\code{signature(object = "sparseMatrix")}: The
      \code{\link{show}} method for sparse matrices prints
      \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}
  In method selection for multiplication operations (i.e. \code{\%*\%}
  and the two-argument form of \code{\link[base]{crossprod}})
  the sparseMatrix class takes precedence in the sense that if one
  operand is a sparse matrix and the other is any type of dense matrix
  then the dense matrix is coerced to a \code{dgeMatrix} and the
  appropriate sparse matrix method is used.
showClass("sparseMatrix") ## and look at the help() of its subclasses
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge