SCM

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 676, Sat Mar 26 15:59:18 2005 UTC revision 871, Fri Aug 26 17:26:49 2005 UTC
# Line 2  Line 2 
2  \docType{class}  \docType{class}
3  \alias{sparseMatrix-class}  \alias{sparseMatrix-class}
4  \alias{show,sparseMatrix-method}  \alias{show,sparseMatrix-method}
5    \alias{\%*\%,sparseMatrix,ddenseMatrix-method}
6    \alias{\%*\%,ddenseMatrix,sparseMatrix-method}
7    \alias{crossprod,sparseMatrix,ddenseMatrix-method}
8    \alias{crossprod,ddenseMatrix,sparseMatrix-method}
9    \alias{coerce,graph,sparseMatrix-method}
10    \alias{coerce,graphNEL,sparseMatrix-method}
11  \title{Virtual Class "sparseMatrix" --- Mother of Sparse Matrices}  \title{Virtual Class "sparseMatrix" --- Mother of Sparse Matrices}
12  \description{Virtual Mother Class of All Sparse Matrices}  \description{Virtual Mother Class of All Sparse Matrices}
13  \section{Slots}{  \section{Slots}{
14    \code{Dim}, and \code{Dimnames}, see \code{\link{Matrix-class}}.    \code{Dim}, and \code{Dimnames}, see \code{\link{Matrix-class}}.
15    % Should this be "written in stone" or should they be added?
16    %   Note that the current implementation keeps \code{Dimnames} empty for
17    %   sparse matrices.
18  }  }
19  \section{Extends}{  \section{Extends}{
20    Class \code{"Matrix"}, directly.    Class \code{"Matrix"}, directly.
# Line 18  Line 26 
26        \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}        \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}
27    }    }
28  }  }
29    \note{
30      In method selection for multiplication operations (i.e. \code{\%*\%}
31      and the two-argument form of \code{\link[base]{crossprod}})
32      the sparseMatrix class takes precedence in the sense that if one
33      operand is a sparse matrix and the other is any type of dense matrix
34      then the dense matrix is coerced to a \code{dgeMatrix} and the
35      appropriate sparse matrix method is used.
36    }
37  %\author{Martin}  %\author{Martin}
38  \examples{  \examples{
39  showClass("sparseMatrix") ## and look at the help() of its subclasses  showClass("sparseMatrix") ## and look at the help() of its subclasses

Legend:
Removed from v.676  
changed lines
  Added in v.871

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge