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 1271 - (view) (download) (as text)

1 : maechler 676 \name{sparseMatrix-class}
2 :     \docType{class}
3 : maechler 956 \title{Virtual Class "sparseMatrix" --- Mother of Sparse Matrices}
4 : maechler 676 \alias{sparseMatrix-class}
5 : maechler 956 \alias{-,sparseMatrix,missing-method}
6 : maechler 676 \alias{show,sparseMatrix-method}
7 : maechler 1271 % graph stuff
8 : maechler 871 \alias{coerce,graph,sparseMatrix-method}
9 : maechler 1271 \alias{coerce,graphAM,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 : maechler 1271 \alias{coerce,TsparseMatrix,graphNEL-method}
14 : maechler 908 \alias{coerce,dgTMatrix,graphNEL-method}
15 : maechler 1271 %
16 : maechler 676 \description{Virtual Mother Class of All Sparse Matrices}
17 :     \section{Slots}{
18 : maechler 925 \describe{
19 :     \item{\code{Dim}:}{Object of class \code{"integer"} - the dimensions
20 :     of the matrix - must be an integer vector with exactly two
21 :     non-negative values.}
22 :     \item{\code{Dimnames}:}{a list of length two - inherited from class
23 :     \code{Matrix}, see \code{\link{Matrix-class}}.}
24 :     \item{\code{factors}:}{Object of class \code{"list"} - a list
25 :     of factorizations of the matrix. }
26 :     }
27 : maechler 676 }
28 :     \section{Extends}{
29 :     Class \code{"Matrix"}, directly.
30 :     }
31 :     \section{Methods}{
32 :     \describe{
33 :     \item{show}{\code{signature(object = "sparseMatrix")}: The
34 :     \code{\link{show}} method for sparse matrices prints
35 :     \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}
36 :     }
37 :     }
38 : bates 685 \note{
39 :     In method selection for multiplication operations (i.e. \code{\%*\%}
40 : maechler 868 and the two-argument form of \code{\link[base]{crossprod}})
41 : bates 685 the sparseMatrix class takes precedence in the sense that if one
42 :     operand is a sparse matrix and the other is any type of dense matrix
43 :     then the dense matrix is coerced to a \code{dgeMatrix} and the
44 :     appropriate sparse matrix method is used.
45 :     }
46 : maechler 676 %\author{Martin}
47 :     \examples{
48 :     showClass("sparseMatrix") ## and look at the help() of its subclasses
49 :     }
50 :     \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