SHOGUN  6.1.3
List of all members | 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 ( Froskekongen/KRYLSTAT) library (c) Erlend Aune under GPL2+.

Definition at line 28 of file SparseMatrixOperator.h.

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 


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

Definition at line 40 of file SparseMatrixOperator.h.


Definition at line 60 of file SparseMatrixOperator.h.

Member Function Documentation

void display_sparsity_structure ( )

display sparsity structure

Definition at line 68 of file SparseMatrixOperator.h.

Member Data Documentation

index_t m_num_rows

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:

SHOGUN Machine Learning Toolbox - Documentation