FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
fei::CSRMat Class Reference

#include <fei_CSRMat.hpp>

Public Member Functions

 CSRMat ()
 
 CSRMat (const FillableMat &fmat)
 
virtual ~CSRMat ()
 
SparseRowGraphgetGraph ()
 
const SparseRowGraphgetGraph () const
 
std::vector< double > & getPackedCoefs ()
 
const std::vector< double > & getPackedCoefs () const
 
unsigned getNumRows () const
 
CSRMatoperator= (const FillableMat &src)
 
CSRMatoperator+= (const CSRMat &src)
 
bool operator== (const CSRMat &rhs) const
 
bool operator!= (const CSRMat &rhs) const
 

Private Attributes

SparseRowGraph srg_
 
std::vector< double > packedcoefs_
 

Detailed Description

Compressed Sparse Row Matrix object.

Definition at line 21 of file fei_CSRMat.hpp.

Constructor & Destructor Documentation

fei::CSRMat::CSRMat ( )

Definition at line 18 of file fei_CSRMat.cpp.

fei::CSRMat::CSRMat ( const FillableMat fmat)

Definition at line 24 of file fei_CSRMat.cpp.

fei::CSRMat::~CSRMat ( )
virtual

Definition at line 31 of file fei_CSRMat.cpp.

Member Function Documentation

SparseRowGraph& fei::CSRMat::getGraph ( )
inline
const SparseRowGraph& fei::CSRMat::getGraph ( ) const
inline

Definition at line 28 of file fei_CSRMat.hpp.

References srg_.

std::vector<double>& fei::CSRMat::getPackedCoefs ( )
inline
const std::vector<double>& fei::CSRMat::getPackedCoefs ( ) const
inline

Definition at line 31 of file fei_CSRMat.hpp.

References packedcoefs_.

unsigned fei::CSRMat::getNumRows ( ) const
inline
CSRMat & fei::CSRMat::operator= ( const FillableMat src)
CSRMat & fei::CSRMat::operator+= ( const CSRMat src)

Definition at line 80 of file fei_CSRMat.cpp.

References fei::add_CSRMat_to_FillableMat().

bool fei::CSRMat::operator== ( const CSRMat rhs) const

Definition at line 90 of file fei_CSRMat.cpp.

References getGraph(), and getPackedCoefs().

bool fei::CSRMat::operator!= ( const CSRMat rhs) const

Definition at line 97 of file fei_CSRMat.cpp.

Member Data Documentation

SparseRowGraph fei::CSRMat::srg_
private

Definition at line 44 of file fei_CSRMat.hpp.

Referenced by getGraph(), getNumRows(), and operator=().

std::vector<double> fei::CSRMat::packedcoefs_
private

Definition at line 45 of file fei_CSRMat.hpp.

Referenced by getPackedCoefs(), and operator=().


The documentation for this class was generated from the following files: