# SCM Repository

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

# Diff of /pkg/man/dCholCMatrix-class.Rd

revision 489, Wed Feb 2 19:12:03 2005 UTC revision 538, Thu Feb 10 13:50:27 2005 UTC
# Line 1  Line 1
1  \name{dCholCMatrix-class}  \name{dCholCMatrix-class}
2  \docType{class}  \docType{class}
3  \alias{dCholCMatrix-class}  \alias{dCholCMatrix-class}
4  \title{Cholesky decompositions of dsCMatrix objects}  \title{Cholesky Decompositions of dsCMatrix Objects}
5  \description{The class of Cholesky decompositions of symmetric, sparse  \description{The class of Cholesky decompositions of symmetric, sparse
6    column matrices from the \code{"dsCMatrix"} class.}    compressed column matrices from the \code{"dsCMatrix"} class.}
7  \section{Objects from the Class}{  \section{Objects from the Class}{
8  Objects can be created by calls of the form \code{new("dCholCMatrix", ...)}  Objects can be created by calls of the form \code{new("dCholCMatrix", ...)}
9  but are more commonly created from \code{chol} applied to an  but are more commonly created from \code{chol} applied to an
# Line 35  Line 35
35      \item{\code{Dim}:}{Object of class \code{"integer"} - the dimensions      \item{\code{Dim}:}{Object of class \code{"integer"} - the dimensions
36       of the matrix - must be an integer vector with exactly two       of the matrix - must be an integer vector with exactly two
37       non-negative values.}       non-negative values.}
38        \item{\code{Dimnames}:}{list of length two; inherited from the
40      \item{\code{D}:}{Object of class \code{"numeric"} - the diagonal      \item{\code{D}:}{Object of class \code{"numeric"} - the diagonal
41        elements of the matrix D in the LDL' decomposition.}        elements of the matrix D in the LDL' decomposition.}
42      \item{\code{Parent}:}{Object of class \code{"integer"} - the      \item{\code{Parent}:}{Object of class \code{"integer"} - the
# Line 57  Line 59
59  %\examples{}  %\examples{}
60  \examples{  \examples{
61  data(mm)  data(mm)
62  xpx = crossprod(mm)  xpx <- crossprod(mm)
63  str(xpx)  str(xpx)
64  str(chol(xpx))  str(ch <- chol(xpx))
65
66    ## Visualize the sparseness:
67    image(xpx, main=paste("crossprod(mm) : Sparse",dQuote(class(xpx))))
68    image(ch, main=paste("chol (crossprod(mm)) : Sparse", dQuote(class(ch))))
69  }  }
70  \keyword{classes}  \keyword{classes}
71  \keyword{algebra}  \keyword{algebra}

Legend:
 Removed from v.489 changed lines Added in v.538