SCM

SCM Repository

[matrix] Annotation of /pkg/man/dgTMatrix-class.Rd
ViewVC logotype

Annotation of /pkg/man/dgTMatrix-class.Rd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (view) (download) (as text)
Original Path: pkg/man/tripletMatrix-class.Rd

1 : bates 10 \name{tripletMatrix-class}
2 :     \docType{class}
3 :     \alias{tripletMatrix-class}
4 :     \alias{image,tripletMatrix-method}
5 :     \alias{t,tripletMatrix-method}
6 :     \title{Class "tripletMatrix" sparse matrices in triplet form}
7 :     \description{The \code{"tripletMatrix"} class is the class of sparse
8 :     matrices stored as (possibly redundant) triplets.}
9 :     \section{Objects from the Class}{
10 :     Objects can be created by calls of the form \code{new("tripletMatrix", ...)}.
11 :     }
12 :     \section{Slots}{
13 :     \describe{
14 :     \item{\code{i}:}{Object of class \code{"integer"} - the row indices
15 :     of non-zero entries.}
16 :     \item{\code{j}:}{Object of class \code{"integer"} - the column
17 :     indices of non-zero entries. Must be the same length as slot \code{i}.}
18 :     \item{\code{x}:}{Object of class \code{"numeric"} - the (non-zero)
19 :     entry at position \code{(i,j)}. Must be the same length as slot
20 :     \code{i}. If an index pair occurs more than once the corresponding
21 :     values of slot \code{x} are added to form the element of the matrix.}
22 :     \item{\code{Dim}:}{Object of class \code{"integer"} of length 2 -
23 :     the dimensions of the matrix.}
24 :     }
25 :     }
26 :     \section{Methods}{
27 :     \describe{
28 :     \item{coerce}{\code{signature(from = "cscMatrix", to = "tripletMatrix")}: ... }
29 :     \item{coerce}{\code{signature(from = "tripletMatrix", to = "cscMatrix")}: ... }
30 :     }
31 :     }
32 :     %\references{}
33 :     %\author{}
34 :     \note{Triplet matrices are a convenient form in which to construct sparse
35 :     matrices after which they can be coerced to \code{cscMatrix} objects.}
36 :     \seealso{
37 :     \code{\link{cscMatrix-class}}
38 :     }
39 :     %\examples{}
40 :     \keyword{classes}
41 :     \keyword{algebra}

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