The R Project SVN R-packages

Rev

Rev 1314 | Rev 1746 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1314 Rev 1323
Line 1... Line 1...
1
\name{sparseMatrix-class}
1
\name{sparseMatrix-class}
2
\docType{class}
2
\docType{class}
3
\alias{sparseMatrix-class}
3
\alias{sparseMatrix-class}
4
\alias{show,sparseMatrix-method}
4
\alias{show,sparseMatrix-method}
5
 
-
 
-
 
5
\alias{\%*\%,sparseMatrix,ddenseMatrix-method}
-
 
6
\alias{\%*\%,ddenseMatrix,sparseMatrix-method}
-
 
7
\alias{crossprod,sparseMatrix,ddenseMatrix-method}
-
 
8
\alias{crossprod,ddenseMatrix,sparseMatrix-method}
6
\title{Virtual Class "sparseMatrix" --- Mother of Sparse Matrices}
9
\title{Virtual Class "sparseMatrix" --- Mother of Sparse Matrices}
7
\description{Virtual Mother Class of All Sparse Matrices}
10
\description{Virtual Mother Class of All Sparse Matrices}
8
\section{Slots}{
11
\section{Slots}{
9
  \code{Dim}, and \code{Dimnames}, see \code{\link{Matrix-class}}.
12
  \code{Dim}, and \code{Dimnames}, see \code{\link{Matrix-class}}.
10
}
13
}
Line 16... Line 19...
16
    \item{show}{\code{signature(object = "sparseMatrix")}: The
19
    \item{show}{\code{signature(object = "sparseMatrix")}: The
17
      \code{\link{show}} method for sparse matrices prints
20
      \code{\link{show}} method for sparse matrices prints
18
      \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}
21
      \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}
19
  }
22
  }
20
}
23
}
-
 
24
\note{
-
 
25
  In method selection for multiplication operations (i.e. \code{\%*\%}
-
 
26
  and the two-argument form of \code{\link[base]{crossprod}}) 
-
 
27
  the sparseMatrix class takes precedence in the sense that if one
-
 
28
  operand is a sparse matrix and the other is any type of dense matrix
-
 
29
  then the dense matrix is coerced to a \code{dgeMatrix} and the
-
 
30
  appropriate sparse matrix method is used.
-
 
31
}
21
%\author{Martin}
32
%\author{Martin}
22
\examples{
33
\examples{
23
showClass("sparseMatrix") ## and look at the help() of its subclasses
34
showClass("sparseMatrix") ## and look at the help() of its subclasses
24
}
35
}
25
\keyword{classes}
36
\keyword{classes}