SCM

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 868 - (view) (download) (as text)

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

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