Rev 1869 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{dtpMatrix-class}\docType{class}\alias{dtpMatrix-class}\alias{\%*\%,dtpMatrix,dgeMatrix-method}\alias{\%*\%,dgeMatrix,dtpMatrix-method}\alias{\%*\%,dtpMatrix,dtpMatrix-method}\alias{\%*\%,dtpMatrix,matrix-method}\alias{\%*\%,matrix,dtpMatrix-method}\alias{\%*\%,dtpMatrix,numeric-method}\alias{\%*\%,numeric,dtpMatrix-method}\alias{coerce,dtpMatrix,dtrMatrix-method}\alias{coerce,dtpMatrix,dgeMatrix-method}\alias{coerce,dtpMatrix,ltpMatrix-method}\alias{coerce,dtpMatrix,matrix-method}\alias{coerce,matrix,dtpMatrix-method}\alias{determinant,dtpMatrix,missing-method}\alias{determinant,dtpMatrix,logical-method}\alias{diag,dtpMatrix-method}\alias{norm,dtpMatrix,character-method}\alias{norm,dtpMatrix,missing-method}\alias{rcond,dtpMatrix,character-method}\alias{rcond,dtpMatrix,missing-method}\alias{solve,dtpMatrix,missing-method}\alias{solve,dtpMatrix,matrix-method}\alias{t,dtpMatrix-method}\alias{unpack,dtpMatrix-method}\title{Packed triangular dense matrices}\description{The \code{"dtpMatrix"} class is the class of triangular,dense, numeric matrices in packed storage. The \code{"dtrMatrix"}class is the same except in nonpacked storage.}\section{Objects from the Class}{Objects can be created by calls of the form \code{new("dtpMatrix",...)} or by coercion from other classes of matrices.}\section{Slots}{\describe{\item{\code{uplo}:}{Object of class \code{"character"}. Must beeither "U", for upper triangular, and "L", for lower triangular.}\item{\code{diag}:}{Object of class \code{"character"}. Must beeither \code{"U"}, for unit triangular (diagonal is all ones), or\code{"N"}; see \code{\link{triangularMatrix-class}}.}\item{\code{x}:}{Object of class \code{"numeric"}. The numericvalues that constitute the matrix, stored in column-major order.}\item{\code{Dim},\code{Dimnames}:}{The dimension (a length-2\code{"integer"}) and corresponding names (or \code{NULL}),inherited from the \code{\link{Matrix-class}}, see there.}\item{\code{rcond}:}{Object of class \code{"numeric"}. A namednumeric vector of reciprocal condition numbers in either the1-norm \code{"O"} or the infinity norm \code{"I"}.}\item{\code{factors}:}{Object of class \code{"list"}. A namedlist of factorizations that have been computed for the matrix.}}}\section{Extends}{Class \code{"ddenseMatrix"}, directly.Class \code{"triangularMatrix"}, directly.Class \code{"dMatrix"} and more by class \code{"ddenseMatrix"} etc, seethe examples.}\section{Methods}{\describe{\item{\%*\%}{\code{signature(x = "dtpMatrix", y = "dgeMatrix")}:Matrix multiplication; dito for several other signaturecombinations, see \code{showMethods("\%*\%", class = "dtpMatrix")}.}\item{coerce}{\code{signature(from = "dtpMatrix", to = "dtrMatrix")}}\item{coerce}{\code{signature(from = "dtpMatrix", to = "dgeMatrix")}}\item{coerce}{\code{signature(from = "dtpMatrix", to = "matrix")}}\item{determinant}{\code{signature(x = "dtpMatrix", logarithm = "missing")}: ... }\item{determinant}{\code{signature(x = "dtpMatrix", logarithm = "logical")}: ... }\item{diag}{\code{signature(x = "dtpMatrix")}: ... }\item{norm}{\code{signature(x = "dtpMatrix", type = "character")}: ... }\item{norm}{\code{signature(x = "dtpMatrix", type = "missing")}: ... }\item{rcond}{\code{signature(x = "dtpMatrix", type = "character")}: ... }\item{rcond}{\code{signature(x = "dtpMatrix", type = "missing")}: ... }\item{solve}{\code{signature(a = "dtpMatrix", b = "missing")}: ... }\item{solve}{\code{signature(a = "dtpMatrix", b = "matrix")}: ... }\item{t}{\code{signature(x = "dtpMatrix")}: ... }\item{unpack}{\code{signature(x = "dtpMatrix")}: ... }}}\seealso{\code{\link{dtrMatrix-class}}}\examples{showClass("dtrMatrix")example("dtrMatrix-class")(p1 <- as(T3, "dtpMatrix"))str(p1)(pp <- as(T, "dtpMatrix"))}\keyword{classes}