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