dtpMatrix-class {Matrix}R Documentation

Packed triangular dense matrices

Description

The "dtpMatrix" class is the class of triangular, dense, numeric matrices in packed storage. The "dtrMatrix" class is the same except in nonpacked storage.

Objects from the Class

Objects can be created by calls of the form new("dtpMatrix", ...) or by coercion from other classes of matrices.

Slots

uplo:
Object of class "character". Must be either "U", for upper triangular, and "L", for lower triangular.
diag:
Object of class "character". Must be either "U", for unit triangular (diagonal is all ones), or "N" for non-unit. The implicit diagonal elements are not explicitly stored when diag is "U".
x:
Object of class "numeric". The numeric values that constitute the matrix, stored in column-major order.
Dim:
Object of class "integer". The dimensions of the matrix which must be a two-element vector of non-negative integers.
rcond:
Object of class "numeric". A named numeric vector of reciprocal condition numbers in either the 1-norm "O" or the infinity norm "I".
factors:
Object of class "list". A named list of factorizations that have been computed for the matrix.
Dimnames:
Object of class "list". The dimnames of the matrix which must be a list of two elements. The elements should be either NULL or a character vector whose length matches the corresponding dimension.

Extends

Class "ddenseMatrix", directly. Class "dMatrix", by class "ddenseMatrix". Class "Matrix", by class "ddenseMatrix".

Methods

%*%
signature(x = "dtpMatrix", y = "dgeMatrix"): Matrix multiplication; dito for several other signature combinations, see showMethods("%*%", class = "dtpMatrix").
coerce
signature(from = "dtpMatrix", to = "dtrMatrix")
coerce
signature(from = "dtpMatrix", to = "dgeMatrix")
coerce
signature(from = "dtpMatrix", to = "matrix")
determinant
signature(x = "dtpMatrix", logarithm = "missing"): ...
determinant
signature(x = "dtpMatrix", logarithm = "logical"): ...
diag
signature(x = "dtpMatrix"): ...
norm
signature(x = "dtpMatrix", type = "character"): ...
norm
signature(x = "dtpMatrix", type = "missing"): ...
rcond
signature(x = "dtpMatrix", type = "character"): ...
rcond
signature(x = "dtpMatrix", type = "missing"): ...
solve
signature(a = "dtpMatrix", b = "missing"): ...
solve
signature(a = "dtpMatrix", b = "matrix"): ...
t
signature(x = "dtpMatrix"): ...
unpack
signature(x = "dtpMatrix"): ...

See Also

dtrMatrix-class


[Package Matrix version 0.95-10 Index]