SCM

SCM Repository

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

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

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

revision 1854, Tue May 22 14:20:31 2007 UTC revision 1855, Wed May 23 21:33:34 2007 UTC
# Line 31  Line 31 
31  \alias{dim<-,sparseMatrix-method}  \alias{dim<-,sparseMatrix-method}
32  \alias{show,sparseMatrix-method}  \alias{show,sparseMatrix-method}
33  \alias{summary,sparseMatrix-method}  \alias{summary,sparseMatrix-method}
34  \alias{colMeans,sparseMatrix-method}  %\alias{colMeans, etc are now in ./colSums.Rd
 \alias{colSums,sparseMatrix-method}  
 \alias{rowMeans,sparseMatrix-method}  
 \alias{rowSums,sparseMatrix-method}  
35  % graph stuff  % graph stuff
36  \alias{coerce,graph,sparseMatrix-method}  \alias{coerce,graph,sparseMatrix-method}
37  \alias{coerce,graph,CsparseMatrix-method}  \alias{coerce,graph,CsparseMatrix-method}
# Line 63  Line 60 
60  }  }
61  \section{Methods}{  \section{Methods}{
62    \describe{    \describe{
63      \item{show}{\code{signature(object = "sparseMatrix")}: The      \item{show}{\code{(object = "sparseMatrix")}: The
64        \code{\link{show}} method for sparse matrices prints        \code{\link{show}} method for sparse matrices prints
65        \emph{\dQuote{structural}} zeroes as \code{"."} using the        \emph{\dQuote{structural}} zeroes as \code{"."} using the
66        non-exported \code{prSpMatrix} function which allows further        non-exported \code{prSpMatrix} function which allows further
# Line 71  Line 68 
68    
69        Note that \code{\link{options}(max.print)} will influence how many        Note that \code{\link{options}(max.print)} will influence how many
70        entries of large matrices are printed at all.}        entries of large matrices are printed at all.}
71        \item{summary}{\code{(object = "sparseMatrix")}: Returns
72          an object of S3 class \code{"sparseSummary"} which is basically a
73          \code{\link{data.frame}} with columns \code{(i,j,x)} with the
74          non-zero entries.   The \code{\link{print}} method resemble's
75          Matlab's way of printing sparse matrices.}
76        \item{diag}{\code{(x = "sparseMatrix")}: extracts the diagonal of a
77          sparse matrix.}
78        \item{dim<-}{\code{signature(x = "sparseMatrix", value = "ANY")}:
79          allows to \emph{reshape} a sparse matrix to a sparse matrix with
80          the same entries but different dimensions. \code{value} must be of
81          length two and fulfill \code{prod(value) == prod(dim(x))}.}
82    }    }
83      See also \code{\link{colSums}}, ... %% FIXME
84      for methods with separate help pages.
85  }  }
86  \note{  \note{
87    In method selection for multiplication operations (i.e. \code{\%*\%}    In method selection for multiplication operations (i.e. \code{\%*\%}

Legend:
Removed from v.1854  
changed lines
  Added in v.1855

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