RsparseMatrix-class(Matrix)
RsparseMatrix-class()所属R语言包:Matrix
Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
列压缩格式的稀疏矩阵类“RsparseMatrix”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The "RsparseMatrix" class is the virtual class of all sparse matrices coded in sorted compressed row-oriented form. Since it is a virtual class, no objects may be created from it. See showClass("RsparseMatrix") for its subclasses.
"RsparseMatrix"类是虚拟类的所有排序压缩面向行的形式编码的稀疏矩阵。因为它是一个虚拟的类,没有对象可以从它创建。看到showClass("RsparseMatrix")它的子类。
插槽----------Slots----------
j: Object of class "integer" of length nnzero (number of non-zero elements). These are the row numbers for
j:对象类"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"指针,每行一个,初始(从零开始)元素的索引
Dim, Dimnames: inherited from
Dim,Dimnames:继承
延伸----------Extends----------
Class "sparseMatrix", directly. Class "Matrix", by class "sparseMatrix".
类"sparseMatrix",直接。类"Matrix"类"sparseMatrix"。
方法----------Methods----------
Only few methods are defined currently on purpose, since we rather use the CsparseMatrix in Matrix. Recently, more methods were added but beware that these typically do not return "RsparseMatrix" results, but rather Csparse* or Tsparse* ones.
目前只有极少数的方法被定义的目的,因为我们宁愿用CsparseMatrixMatrix。最近,增加了更多的方法,但要注意,这些通常不返回"RsparseMatrix"的结果,而是Csparse *或Tsparse *的。
t signature(x = "RsparseMatrix"): ...
Tsignature(x = "RsparseMatrix")...
coerce signature(from = "RsparseMatrix", to = "CsparseMatrix"): ...
要挟signature(from = "RsparseMatrix", to = "CsparseMatrix")...
coerce signature(from = "RsparseMatrix", to = "TsparseMatrix"): ...
要挟signature(from = "RsparseMatrix", to = "TsparseMatrix")...
参见----------See Also----------
its superclass, sparseMatrix, and, e.g., class dgRMatrix for the links to other classes.
它的父,sparseMatrix,,例如,类dgRMatrix为其他类的链接。
举例----------Examples----------
showClass("RsparseMatrix")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|