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