Rev 1533 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{dCholCMatrix-class}\docType{class}\alias{dCholCMatrix-class}\alias{lCholCMatrix-class}\alias{solve,lCholCMatrix,missing-method}\alias{solve,lCholCMatrix,lgCMatrix-method}\alias{t,lCholCMatrix-method}\title{Cholesky Decompositions of dsCMatrix Objects}\description{\code{"dCholCMatrix"} is class of Cholesky decompositionsof symmetric, sparse, compressed, column-oriented matrices (the\code{"dsCMatrix"} class). \code{"lCholCMatrix"} is class showing thelogical structure (positions of the non-zeros) of these Cholesky decompositions.}\section{Objects from the Class}{Objects can be created by calls of the form \code{new("dCholCMatrix", ...)}but are more commonly created from \code{chol} applied to\code{dsCMatrix} or \code{lsCMatrix} objects.}\section{Slots}{\describe{\item{\code{perm}:}{Object of class \code{"integer"} giving thepermutation of the rows and columns chosen to minimize fill-in.If pivoting has not been applied this will be an integer vector oflength 0.}\item{\code{diag}:}{A character object indicating if the triangularmatrix is unit triangular or not. This slot is inherited from the\code{"dtCMatrix"} class. It is always \code{"N"} for this class.}\item{\code{uplo}:}{A character object indicating if the uppertriangle (\code{"U"} or \code{"u"}) or the lower triangle(\code{"L"} or \code{"l"}) is stored. At present only the lowertriangle form is allowed.}\item{\code{p}:}{Object of class \code{"integer"} of pointers, onefor each column, to the initial (zero-based) index of elements inthe column.}\item{\code{i}:}{Object of class \code{"integer"} of length nnzero(number of non-zero elements). These are the row numbers foreach non-zero element in the matrix.}\item{\code{x}:}{Object of class \code{"numeric"} - the non-zeroelements of the matrix. Present only in the \code{"dCholCMatrix"}class.}\item{\code{factors}:}{Object of class \code{"list"} - a listof factorizations of the matrix. }\item{\code{Dim}:}{Object of class \code{"integer"} - the dimensionsof the matrix - must be an integer vector with exactly twonon-negative values.}\item{\code{Dimnames}:}{list of length two; inherited from the\code{"Matrix"} class, see \code{\link{Matrix-class}}.}\item{\code{D}:}{Object of class \code{"numeric"} - the diagonalelements of the matrix D in the LDL' decomposition. Present onlyin the \code{"dCholCMatrix"} class.}\item{\code{Parent}:}{Object of class \code{"integer"} - theelimination tree of the (possibly permuted) symmetric matrix.}}}\section{Extends}{Class \code{"dtCMatrix"}, directly.Class \code{"dgCMatrix"}, by class \code{"dtCMatrix"}.}\section{Methods}{No methods defined with class "dCholCMatrix" in the signature.}%\references{}%\author{}%\note{}\seealso{\code{\link{dgCMatrix-class}}}%\examples{}\examples{data(mm)xpx <- crossprod(mm)str(xpx)str(ch <- chol(xpx))## Visualize the sparseness:image(xpx, main=paste("crossprod(mm) : Sparse",dQuote(class(xpx))))image(ch, main=paste("chol (crossprod(mm)) : Sparse", dQuote(class(ch))))}\keyword{classes}\keyword{algebra}