dgRMatrix-class(Matrix)
dgRMatrix-class()所属R语言包:Matrix
Sparse Compressed, Row-oriented Numeric Matrices
稀疏压缩,面向行的数字矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The dgRMatrix class is a class of sparse numeric matrices in the compressed, sparse, row-oriented format. In this implementation the non-zero elements in the rows are sorted into increasing column order.
dgRMatrix类是一类稀疏,稀疏,面向行的格式在压缩的数字矩阵。在此实现行的非零元素增加列顺序排序。
Note: Currently, the column-oriented sparse classes, e.g., dgCMatrix, are preferred and better supported in the Matrix package.
注意:目前,列面向稀疏类,如dgCMatrix最好Matrix包和更好的支持。
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("dgRMatrix", ...).
创建对象可以通过电话的形式new("dgRMatrix", ...)。
插槽----------Slots----------
j: Object of class "integer" of length nnzero (number of non-zero elements). These are the column numbers for
j:Object类的"integer"长度nnzero的(非零元素的数目)。这些是列数
p: Object of class "integer" of pointers, one for each row, to the initial (zero-based) index of elements in
p:Object类的"integer"指针,每行一个,初始(从零开始)元素的索引
x: Object of class "numeric" - the non-zero
x类"numeric"对象 - 非零
Dim: Object of class "integer" - the dimensions
Dim类"integer"对象 - 尺寸
方法----------Methods----------
coerce signature(from = "matrix", to = "dgRMatrix")
强制signature(from = "matrix", to = "dgRMatrix")
coerce signature(from = "dgRMatrix", to = "matrix")
强制signature(from = "dgRMatrix", to = "matrix")
coerce signature(from = "dgRMatrix", to = "dgTMatrix")
强制signature(from = "dgRMatrix", to = "dgTMatrix")
diag signature(x = "dgRMatrix"): returns the diagonal
诊断signature(x = "dgRMatrix"):返回对角线
dim signature(x = "dgRMatrix"): returns the dimensions
朦胧signature(x = "dgRMatrix"):返回的尺寸
image signature(x = "dgRMatrix"): plots an image of
图像signature(x = "dgRMatrix"):图图像
参见----------See Also----------
the dgCMatrix class.
dgCMatrix类。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|