SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | Public 成员函数 | Public 属性
SparsityStructure结构体 参考

详细描述

Struct that represents the sparsity structure of the Sparse Matrix in CRS. Implementation has been adapted from Krylstat (https://github.com/ Froskekongen/KRYLSTAT) library (c) Erlend Aune erlen.nosp@m.da@m.nosp@m.ath.n.nosp@m.tnu..nosp@m.no under GPL2+.

在文件 SparseMatrixOperator.h28 行定义.

Public 成员函数

 SparsityStructure ()
 
 SparsityStructure (index_t *row_offsets, index_t *column_indices, index_t num_rows)
 
 ~SparsityStructure ()
 
void display_sparsity_structure ()
 

Public 属性

index_t m_num_rows
 
int32_t ** m_ptr
 

构造及析构函数说明

default constructor

在文件 SparseMatrixOperator.h31 行定义.

SparsityStructure ( index_t row_offsets,
index_t column_indices,
index_t  num_rows 
)

constructor

参数
row_offsetsouter index ptr in CRS
column_indicesinner index ptr in CRS
num_rowsnumber of rows

在文件 SparseMatrixOperator.h40 行定义.

destructor

在文件 SparseMatrixOperator.h60 行定义.

成员函数说明

void display_sparsity_structure ( )

display sparsity structure

在文件 SparseMatrixOperator.h68 行定义.

类成员变量说明

index_t m_num_rows

number of rows

在文件 SparseMatrixOperator.h85 行定义.

int32_t** m_ptr

the pointer that stores the nnz entries

在文件 SparseMatrixOperator.h88 行定义.


该结构体的文档由以下文件生成:

SHOGUN 机器学习工具包 - 项目文档