dtrMatrix-class(Matrix)
dtrMatrix-class()所属R语言包:Matrix
Triangular, dense, numeric matrices
三角形,密密麻麻,数字矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The "dtrMatrix" class is the class of triangular, dense, numeric matrices in nonpacked storage. The "dtpMatrix" class is the same except in packed storage.
"dtrMatrix"类是类三角形,密集,在nonpacked存储数字矩阵。 类"dtpMatrix"是相同的,除了在包装存储。
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("dtrMatrix", ...).
创建对象可以通过电话的形式new("dtrMatrix", ...)。
插槽----------Slots----------
uplo: Object of class "character". Must be
uplo类"character"的对象。必须
diag: Object of class "character". Must be either "U", for unit triangular (diagonal is all ones), or
diag类"character"的对象。必须是"U"(是对角线的)为单元的三角形,或
x: Object of class "numeric". The numeric
x类"numeric"的对象。数字
Dim: Object of class "integer". The dimensions of the matrix which must be a two-element vector of non-negative
Dim类"integer"的对象。它必须是一个非负的两个元素的向量矩阵的尺寸
延伸----------Extends----------
Class "ddenseMatrix", directly. Class "triangularMatrix", directly. Class "Matrix" and others, by class "ddenseMatrix".
类"ddenseMatrix",直接。类"triangularMatrix",直接。类"Matrix"类"ddenseMatrix"和其他。
方法----------Methods----------
%*% signature(x = "dtrMatrix", y = "matrix") and other signatures (use showMethods("%*%", class="dtrMatrix")): matrix multiplication. Multiplication of (matching) triangular matrices now should remain triangular (in the sense of class
%*%signature(x = "dtrMatrix", y = "matrix")和其他签名(使用showMethods("%*%", class="dtrMatrix")):矩阵的乘法。 (选配)三角矩阵的乘法现在应该保持三角(在阶级意识
crossprod,tcrossprod signature(x = "dtrMatrix", y = "matrix") and other
crossprod,tcrossprodsignature(x = "dtrMatrix", y = "matrix")和其他
coerce signature(from = "dgeMatrix", to = "dtrMatrix")
强制signature(from = "dgeMatrix", to = "dtrMatrix")
coerce signature(from = "dtrMatrix", to = "matrix")
强制signature(from = "dtrMatrix", to = "matrix")
coerce signature(from = "dtrMatrix", to = "ltrMatrix")
强制signature(from = "dtrMatrix", to = "ltrMatrix")
coerce signature(from = "dtrMatrix", to = "matrix")
强制signature(from = "dtrMatrix", to = "matrix")
coerce signature(from = "matrix", to = "dtrMatrix")
强制signature(from = "matrix", to = "dtrMatrix")
norm signature(x = "dtrMatrix", type = "character")
规范signature(x = "dtrMatrix", type = "character")
rcond signature(x = "dtrMatrix", norm = "character")
rcondsignature(x = "dtrMatrix", norm = "character")
solve signature(a = "dtrMatrix", b = "missing")
解决signature(a = "dtrMatrix", b = "missing")
solve signature(a = "dtrMatrix", b = "matrix")
解决signature(a = "dtrMatrix", b = "matrix")
参见----------See Also----------
Classes ddenseMatrix, dtpMatrix, triangularMatrix
类ddenseMatrix,dtpMatrix,triangularMatrix
举例----------Examples----------
(m <- rbind(2:3, 0:-1))
(M <- as(m, "dgeMatrix"))
(T <- as(M, "dtrMatrix")) ## upper triangular is default[#上三角是默认]
(T2 <- as(t(M), "dtrMatrix"))
stopifnot(T@uplo == "U", T2@uplo == "L", identical(T2, t(T)))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|