fei::FillableVec Class Reference

List of all members.

Public Types

typedef std::map< int, double,
std::less< int >, fei_Pool_alloc<
std::pair< const int, int > > > 
typedef feipoolmap::iterator iterator
typedef feipoolmap::const_iterator const_iterator

Public Member Functions

 FillableVec ()
virtual ~FillableVec ()
void addEntry (int index, double coef)
void addEntries (unsigned numEntries, const double *coefs, const int *indices)
void putEntry (int index, double coef)
void putEntries (unsigned numEntries, const double *coefs, const int *indices)
void setValues (double value)
unsigned size () const
bool hasEntry (int index) const
double getEntry (int index) const
void removeEntry (int index)
void clear ()
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
bool operator== (const FillableVec &rhs) const
bool operator!= (const FillableVec &rhs) const

Detailed Description

Definition at line 18 of file fei_FillableVec.hpp.

Member Function Documentation

double fei::FillableVec::getEntry ( int  index  )  const

Return coef for index if index is present, otherwise throw.

Definition at line 73 of file fei_FillableVec.cpp.

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