SHOGUN  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
SparsityStructure Struct Reference

Detailed Description

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 <erlenda@math.ntnu.no> under GPL2+.

Definition at line 28 of file SparseMatrixOperator.h.

List of all members.

Public Member Functions

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

Public Attributes

index_t m_num_rows
int32_t ** m_ptr

Constructor & Destructor Documentation

default constructor

Definition at line 31 of file SparseMatrixOperator.h.

SparsityStructure ( index_t row_offsets,
index_t column_indices,
index_t  num_rows 
)

constructor

Parameters:
row_offsetsouter index ptr in CRS
column_indicesinner index ptr in CRS
num_rowsnumber of rows

Definition at line 40 of file SparseMatrixOperator.h.

destructor

Definition at line 60 of file SparseMatrixOperator.h.


Member Function Documentation

display sparsity structure

Definition at line 68 of file SparseMatrixOperator.h.


Member Data Documentation

number of rows

Definition at line 85 of file SparseMatrixOperator.h.

int32_t** m_ptr

the pointer that stores the nnz entries

Definition at line 88 of file SparseMatrixOperator.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation