SCM Repository

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

revision 1736, Tue Jan 23 17:09:41 2007 UTC revision 1737, Tue Jan 23 17:14:20 2007 UTC
# Line 61  Line 61
61    \describe{    \describe{
62      \item{show}{\code{signature(object = "sparseMatrix")}: The      \item{show}{\code{signature(object = "sparseMatrix")}: The
63        \code{\link{show}} method for sparse matrices prints        \code{\link{show}} method for sparse matrices prints
64        \emph{\dQuote{structural}} zeroes as \code{"."} or blank.}        \emph{\dQuote{structural}} zeroes as \code{"."} using the
65          non-exported \code{prSpMatrix} function which allows further
66          customization such as replacing \code{"."} by \code{" "} (blank).
67
68          Note that \code{\link{options}(max.print)} will influence how many
69          entries of large matrices are printed at all.}
70    }    }
71  }  }
72  \note{  \note{
# Line 75  Line 80
80  %\author{Martin}  %\author{Martin}
81  \examples{  \examples{
82  showClass("sparseMatrix") ## and look at the help() of its subclasses  showClass("sparseMatrix") ## and look at the help() of its subclasses
83    M <- Matrix(0, 10000, 100)
84    M[1,1] <- M[2,3] <- 3.14
85    M
86    \dontshow{% show() was slow in 0.9975-8 because of slow adjust="fancy"
87    op <- options(max.print = 25000, width = 80)
88    sink(print(tempfile()))
89    stopifnot((st <- system.time(show(M))) < 1.0) # only 0.09 on cmath-3
90    sink()
91    st
92    options(op)
93    }
94  }  }
95  \keyword{classes}  \keyword{classes}

Legend:
 Removed from v.1736 changed lines Added in v.1737

 root@r-forge.r-project.org ViewVC Help Powered by ViewVC 1.0.0
Thanks to:  