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