fei::CSVec Class Reference

#include <fei_CSVec.hpp>

List of all members.

Public Member Functions

 CSVec (const FillableVec &invec)
 CSVec (unsigned sz=0)
virtual ~CSVec ()
CSVecoperator= (const CSVec &invec)
CSVecoperator= (const FillableVec &invec)
std::vector< int > & indices ()
const std::vector< int > & indices () const
std::vector< double > & coefs ()
const std::vector< double > & coefs () const
size_t size () const
void clear ()


Detailed Description

'Compressed Sparse Vector' stored as two std::vectors: a vector of ints for the indices and a vector of doubles for the coefficients.

Non-member functions add_entry and put_entry maintain sortedness of the vector when inserting new entries.

Definition at line 24 of file fei_CSVec.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jul 12 09:31:42 2010 for FEI by  doxygen 1.4.7