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

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