ltrMatrix-class {Matrix} | R Documentation |
The "ltrMatrix"
class is the class of triangular, dense,
logical matrices in nonpacked storage. The "ltpMatrix"
class
is the same except in packed storage.
x
:"logical"
. The logical
values that constitute the matrix, stored in column-major order.uplo
:"character"
. Must be
either "U", for upper triangular, and "L", for lower triangular.diag
:"character"
. Must be
either "U"
, for unit triangular (diagonal is all ones), or
"N"
; see triangularMatrix-class
.Dim
,Dimnames
:"integer"
) and corresponding names (or NULL
), see the
Matrix-class
.factors
:"list"
. A named
list of factorizations that have been computed for the matrix.
"ltrMatrix"
extends class "lgeMatrix"
, directly, whereas
"ltpMatrix"
extends class "ldenseMatrix"
, directly.
Both extend Class "triangularMatrix"
, directly,
and class "denseMatrix"
, "lMatrix"
and others,
indirectly, use showClass("lsyMatrix")
, e.g., for
details.
Currently, mainly t()
and coercion methods (for
as(.)
; use, e.g.,
showMethods(class="lsyMatrix")
for details.
lgeMatrix-class
, Matrix-class
,
t
showClass("ltrMatrix") str(new("ltpMatrix"))