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 1654 - (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 1472 %% Group methods
6 :     \alias{Arith,sparseMatrix,sparseMatrix-method}
7 :     \alias{Arith,sparseMatrix,numeric-method}
8 :     \alias{Arith,numeric,sparseMatrix-method}
9 :     \alias{Math,sparseMatrix-method}
10 :     %\alias{Math2,sparseMatrix,numeric-method}
11 : maechler 1654 \alias{Ops,diagonalMatrix,sparseMatrix-method}
12 :     \alias{Ops,sparseMatrix,diagonalMatrix-method}
13 : maechler 1472 %
14 :     \alias{coerce,ANY,sparseMatrix-method}
15 : maechler 956 \alias{-,sparseMatrix,missing-method}
16 : maechler 1472 \alias{diag,sparseMatrix-method}
17 : maechler 676 \alias{show,sparseMatrix-method}
18 : maechler 1290 \alias{colMeans,sparseMatrix-method}
19 :     \alias{colSums,sparseMatrix-method}
20 :     \alias{rowMeans,sparseMatrix-method}
21 :     \alias{rowSums,sparseMatrix-method}
22 : maechler 1271 % graph stuff
23 : maechler 871 \alias{coerce,graph,sparseMatrix-method}
24 : bates 1479 \alias{coerce,graph,CsparseMatrix-method}
25 : maechler 1271 \alias{coerce,graphAM,sparseMatrix-method}
26 : bates 1479 \alias{coerce,graphNEL,CsparseMatrix-method}
27 : maechler 1565 \alias{coerce,graphNEL,TsparseMatrix-method}
28 : maechler 908 \alias{coerce,sparseMatrix,graph-method}
29 :     \alias{coerce,sparseMatrix,graphNEL-method}
30 : maechler 1271 \alias{coerce,TsparseMatrix,graphNEL-method}
31 : maechler 908 \alias{coerce,dgTMatrix,graphNEL-method}
32 : maechler 1271 %
33 : maechler 676 \description{Virtual Mother Class of All Sparse Matrices}
34 :     \section{Slots}{
35 : maechler 925 \describe{
36 :     \item{\code{Dim}:}{Object of class \code{"integer"} - the dimensions
37 :     of the matrix - must be an integer vector with exactly two
38 :     non-negative values.}
39 :     \item{\code{Dimnames}:}{a list of length two - inherited from class
40 : maechler 1281 \code{Matrix}, see \code{\linkS4class{Matrix}}.}
41 : maechler 925 \item{\code{factors}:}{Object of class \code{"list"} - a list
42 :     of factorizations of the matrix. }
43 :     }
44 : maechler 676 }
45 :     \section{Extends}{
46 :     Class \code{"Matrix"}, directly.
47 :     }
48 :     \section{Methods}{
49 :     \describe{
50 :     \item{show}{\code{signature(object = "sparseMatrix")}: The
51 :     \code{\link{show}} method for sparse matrices prints
52 :     \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}
53 :     }
54 :     }
55 : bates 685 \note{
56 :     In method selection for multiplication operations (i.e. \code{\%*\%}
57 : maechler 868 and the two-argument form of \code{\link[base]{crossprod}})
58 : bates 685 the sparseMatrix class takes precedence in the sense that if one
59 :     operand is a sparse matrix and the other is any type of dense matrix
60 :     then the dense matrix is coerced to a \code{dgeMatrix} and the
61 :     appropriate sparse matrix method is used.
62 :     }
63 : maechler 676 %\author{Martin}
64 :     \examples{
65 :     showClass("sparseMatrix") ## and look at the help() of its subclasses
66 :     }
67 :     \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