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 871 - (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 : maechler 871 \alias{coerce,graph,sparseMatrix-method}
10 : bates 863 \alias{coerce,graphNEL,sparseMatrix-method}
11 : maechler 676 \title{Virtual Class "sparseMatrix" --- Mother of Sparse Matrices}
12 :     \description{Virtual Mother Class of All Sparse Matrices}
13 :     \section{Slots}{
14 :     \code{Dim}, and \code{Dimnames}, see \code{\link{Matrix-class}}.
15 : maechler 868 % 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 : maechler 676 }
19 :     \section{Extends}{
20 :     Class \code{"Matrix"}, directly.
21 :     }
22 :     \section{Methods}{
23 :     \describe{
24 :     \item{show}{\code{signature(object = "sparseMatrix")}: The
25 :     \code{\link{show}} method for sparse matrices prints
26 :     \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}
27 :     }
28 :     }
29 : bates 685 \note{
30 :     In method selection for multiplication operations (i.e. \code{\%*\%}
31 : maechler 868 and the two-argument form of \code{\link[base]{crossprod}})
32 : bates 685 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 : maechler 676 %\author{Martin}
38 :     \examples{
39 :     showClass("sparseMatrix") ## and look at the help() of its subclasses
40 :     }
41 :     \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