KASKADE 7 development version
Public Member Functions | Public Attributes | List of all members
Kaskade::csr_matrix Struct Reference

#include <matlab.hh>

Detailed Description

Definition at line 42 of file matlab.hh.

Public Member Functions

 csr_matrix (size_t N, size_t nnz)
 
 csr_matrix (std::ifstream &in)
 
void write (std::ofstream &out)
 

Public Attributes

size_t N
 
size_t nnz
 
std::vector< size_t > row_ptrs
 
std::vector< size_t > col_idxs
 
std::vector< double > values
 

Constructor & Destructor Documentation

◆ csr_matrix() [1/2]

Kaskade::csr_matrix::csr_matrix ( size_t  N,
size_t  nnz 
)
inline

Definition at line 48 of file matlab.hh.

◆ csr_matrix() [2/2]

Kaskade::csr_matrix::csr_matrix ( std::ifstream &  in)
inline

Definition at line 51 of file matlab.hh.

Member Function Documentation

◆ write()

void Kaskade::csr_matrix::write ( std::ofstream &  out)
inline

Definition at line 62 of file matlab.hh.

Referenced by Kaskade::writeToMatlabBinary().

Member Data Documentation

◆ col_idxs

std::vector<size_t> Kaskade::csr_matrix::col_idxs

Definition at line 45 of file matlab.hh.

Referenced by csr_matrix(), write(), and Kaskade::writeToMatlabBinary().

◆ N

size_t Kaskade::csr_matrix::N

Definition at line 43 of file matlab.hh.

Referenced by csr_matrix(), and write().

◆ nnz

size_t Kaskade::csr_matrix::nnz

Definition at line 43 of file matlab.hh.

Referenced by csr_matrix(), write(), and Kaskade::writeToMatlabBinary().

◆ row_ptrs

std::vector<size_t> Kaskade::csr_matrix::row_ptrs

Definition at line 44 of file matlab.hh.

Referenced by csr_matrix(), write(), and Kaskade::writeToMatlabBinary().

◆ values

std::vector<double> Kaskade::csr_matrix::values

Definition at line 46 of file matlab.hh.

Referenced by csr_matrix(), write(), and Kaskade::writeToMatlabBinary().


The documentation for this struct was generated from the following file: