9 #ifndef _fei_FillableMat_hpp_
10 #define _fei_FillableMat_hpp_
32 void sumInCoef(
int row,
int col,
double coef);
33 void putCoef(
int row,
int col,
double coef);
35 void sumInRow(
int row,
const int* cols,
const double* coefs,
unsigned len);
36 void putRow(
int row,
const int* cols,
const double* coefs,
unsigned len);
40 bool hasRow(
int row)
const;
45 typedef std::map<int, CSVec*, std::less<int>,
feipoolmat::iterator iterator
bool operator==(const FillableMat &rhs) const
CSVec * create_or_getRow(int row)
const_iterator end() const
const CSVec * getRow(int row) const
bool hasRow(int row) const
bool operator!=(const FillableMat &rhs) const
void createPosition(int row, int col)
void get_row_numbers(const FillableMat &mat, std::vector< int > &rows)
FillableMat & operator=(const FillableMat &src)
void putCoef(int row, int col, double coef)
void putRow(int row, const int *cols, const double *coefs, unsigned len)
fei_Pool_alloc< CSVec > vecpool_
feipoolmat::const_iterator const_iterator
void setValues(double value)
void sumInRow(int row, const int *cols, const double *coefs, unsigned len)
void sumInCoef(int row, int col, double coef)
unsigned getNumRows() const
int count_nnz(const FillableMat &mat)
const_iterator begin() const
std::map< int, CSVec *, std::less< int >, fei_Pool_alloc< std::pair< const int, CSVec * > > > feipoolmat
void print(std::ostream &os, const FillableMat &mat)