SCM

SCM Repository

[matrix] Diff of /pkg/man/dgRMatrix-class.Rd
ViewVC logotype

Diff of /pkg/man/dgRMatrix-class.Rd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1200, Mon Jan 23 16:01:20 2006 UTC revision 1201, Mon Jan 23 16:04:12 2006 UTC
# Line 13  Line 13 
13  \description{The \code{dgRMatrix} class is a class of sparse numeric  \description{The \code{dgRMatrix} class is a class of sparse numeric
14    matrices in the compressed, sparse, column-oriented format.  In this    matrices in the compressed, sparse, column-oriented format.  In this
15    implementation the non-zero elements in the columns are sorted into    implementation the non-zero elements in the columns are sorted into
16    increasing row order.}    increasing row order.
17    
18      \bold{Note:} Currently, the column-oriented sparse classes, e.g.,
19      \code{\link{dgCMatrix-class}}, are preferred and better supported in
20      the \pkg{Matrix} package.
21    }
22  \section{Objects from the Class}{  \section{Objects from the Class}{
23    Objects can be created by calls of the form \code{new("dgRMatrix", ...)}.    Objects can be created by calls of the form \code{new("dgRMatrix", ...)}.
24  }  }
25  \section{Slots}{  \section{Slots}{
26    \describe{    \describe{
     \item{\code{p}:}{Object of class \code{"integer"} of pointers, one  
       for each row, to the initial (zero-based) index of elements in  
       the row.}  
27      \item{\code{j}:}{Object of class \code{"integer"} of length nnzero      \item{\code{j}:}{Object of class \code{"integer"} of length nnzero
28        (number of non-zero elements).  These are the column numbers for        (number of non-zero elements).  These are the column numbers for
29        each non-zero element in the matrix.}        each non-zero element in the matrix.}
30        \item{\code{p}:}{Object of class \code{"integer"} of pointers, one
31          for each row, to the initial (zero-based) index of elements in
32          the row.}
33      \item{\code{x}:}{Object of class \code{"numeric"} - the non-zero      \item{\code{x}:}{Object of class \code{"numeric"} - the non-zero
34        elements of the matrix.}        elements of the matrix.}
35      \item{\code{Dim}:}{Object of class \code{"integer"} - the dimensions      \item{\code{Dim}:}{Object of class \code{"integer"} - the dimensions
# Line 35  Line 40 
40    \describe{    \describe{
41      \item{coerce}{\code{signature(from = "matrix", to = "dgRMatrix")}}      \item{coerce}{\code{signature(from = "matrix", to = "dgRMatrix")}}
42      \item{coerce}{\code{signature(from = "dgRMatrix", to = "matrix")}}      \item{coerce}{\code{signature(from = "dgRMatrix", to = "matrix")}}
     \item{coerce}{\code{signature(from = "dgRMatrix", to = "dgBCMatrix")}}  
43      \item{coerce}{\code{signature(from = "dgRMatrix", to = "dgTMatrix")}}      \item{coerce}{\code{signature(from = "dgRMatrix", to = "dgTMatrix")}}
44      \item{diag}{\code{signature(x = "dgRMatrix")}: returns the diagonal      \item{diag}{\code{signature(x = "dgRMatrix")}: returns the diagonal
45        of \code{x}}        of \code{x}}

Legend:
Removed from v.1200  
changed lines
  Added in v.1201

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