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