Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::DoubleAccessSparseMatrix< T > Class Template Reference

#include <DoubleAccessSparseMatrix.h>

Inheritance diagram for PLearn::DoubleAccessSparseMatrix< T >:

Inheritance graph
[legend]
Collaboration diagram for PLearn::DoubleAccessSparseMatrix< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DoubleAccessSparseMatrix (int n_rows=0, int n_cols=0, string _name="<no-name>", int _mode=ROW_WISE, bool _double_access=false, T _null_elem=0)
virtual ~DoubleAccessSparseMatrix ()
virtual void resize (int n_rows, int n_cols)
virtual void clear ()
virtual void clearRow (int i, bool force_synchro_if_double_accessible)
virtual void clearCol (int j, bool force_synchro_if_double_accessible)
virtual void clearElem (int i, int j)
virtual T get (int i, int j)
virtual T operator() (int i, int j)
virtual bool exists (int i, int j)
virtual void set (int i, int j, T value)
virtual void incr (int i, int j, T inc)
virtual map< int, T > & getRow (int i)
virtual map< int, T > & getCol (int j)
virtual void addRow (map< int, T > &row)
virtual void addCol (map< int, T > &col)
virtual int size ()
virtual T sumRow (int i)
virtual T sumCol (int j)
virtual T * getAsCompressedVec ()
virtual void getAsMaxSizedCompressedVecs (int max_size, vector< pair< T *, int > > &vectors)
virtual void addCompressedVec (T *compressed_vec, int n_elems)
virtual void setCompressedVec (T *compressed_vec, int n_elems)
virtual T sumOfElements ()
virtual int getHeight () const
virtual int getWidth () const
virtual void setDoubleAccessible (bool da)
virtual bool isDoubleAccessible ()
virtual void setMode (int new_mode)
virtual int getMode ()
virtual void setName (string n)
virtual string getName ()
virtual void write (PStream &out) const
virtual void read (PStream &in)
virtual T getNullElem ()
virtual string getClassName () const

Protected Attributes

vector< map< int, T > > rows
vector< map< int, T > > cols
string name
int mode
bool double_access
int height
int width
null_elem

template<class T>
class PLearn::DoubleAccessSparseMatrix< T >


Constructor & Destructor Documentation

template<class T>
PLearn::DoubleAccessSparseMatrix< T >::DoubleAccessSparseMatrix int  n_rows = 0,
int  n_cols = 0,
string  _name = "<no-name>",
int  _mode = ROW_WISE,
bool  _double_access = false,
_null_elem = 0
 

Definition at line 46 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, mode, PLERROR, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
virtual PLearn::DoubleAccessSparseMatrix< T >::~DoubleAccessSparseMatrix  )  [inline, virtual]
 

Definition at line 106 of file DoubleAccessSparseMatrix.h.


Member Function Documentation

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::addCol map< int, T > &  col  )  [virtual]
 

Definition at line 326 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, ROW_WISE, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::addCompressedVec T *  compressed_vec,
int  n_elems
[virtual]
 

Definition at line 501 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::incr(), and PLERROR.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::addRow map< int, T > &  row  )  [virtual]
 

Definition at line 313 of file DoubleAccessSparseMatrix_impl.h.

References COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, and PLearn::DoubleAccessSparseMatrix< T >::rows.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::clear  )  [virtual]
 

Definition at line 83 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::mode, ROW_WISE, and PLearn::DoubleAccessSparseMatrix< T >::rows.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::resize(), and PLearn::DoubleAccessSparseMatrix< T >::setCompressedVec().

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::clearCol int  j,
bool  force_synchro_if_double_accessible
[virtual]
 

Definition at line 129 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, PLWARNING, ROW_WISE, and PLearn::DoubleAccessSparseMatrix< T >::rows.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::clearElem int  i,
int  j
[virtual]
 

Definition at line 156 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::mode, ROW_WISE, and PLearn::DoubleAccessSparseMatrix< T >::rows.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::set().

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::clearRow int  i,
bool  force_synchro_if_double_accessible
[virtual]
 

Definition at line 102 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, PLWARNING, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
bool PLearn::DoubleAccessSparseMatrix< T >::exists int  i,
int  j
[virtual]
 

Definition at line 197 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
T PLearn::DoubleAccessSparseMatrix< T >::get int  i,
int  j
[virtual]
 

Reimplemented in PLearn::SmoothedProbSparseMatrix, and PLearn::ComplementedProbSparseMatrix.

Definition at line 173 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLearn::DoubleAccessSparseMatrix< T >::null_elem, PLERROR, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::incr().

template<class T>
T * PLearn::DoubleAccessSparseMatrix< T >::getAsCompressedVec  )  [virtual]
 

Definition at line 391 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, PLearn::DoubleAccessSparseMatrix< T >::size(), and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::getAsMaxSizedCompressedVecs int  max_size,
vector< pair< T *, int > > &  vectors
[virtual]
 

Definition at line 435 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLearn::DoubleAccessSparseMatrix< T >::null_elem, PLWARNING, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, PLearn::DoubleAccessSparseMatrix< T >::size(), and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
virtual string PLearn::DoubleAccessSparseMatrix< T >::getClassName  )  const [inline, virtual]
 

Reimplemented in PLearn::ProbSparseMatrix, and PLearn::SmoothedProbSparseMatrix.

Definition at line 176 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::read(), and PLearn::DoubleAccessSparseMatrix< T >::write().

template<class T>
map< int, T > & PLearn::DoubleAccessSparseMatrix< T >::getCol int  j  )  [virtual]
 

Definition at line 296 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
virtual int PLearn::DoubleAccessSparseMatrix< T >::getHeight  )  const [inline, virtual]
 

Definition at line 154 of file DoubleAccessSparseMatrix.h.

template<class T>
virtual int PLearn::DoubleAccessSparseMatrix< T >::getMode  )  [inline, virtual]
 

Definition at line 164 of file DoubleAccessSparseMatrix.h.

template<class T>
virtual string PLearn::DoubleAccessSparseMatrix< T >::getName  )  [inline, virtual]
 

Definition at line 168 of file DoubleAccessSparseMatrix.h.

template<class T>
virtual T PLearn::DoubleAccessSparseMatrix< T >::getNullElem  )  [inline, virtual]
 

Definition at line 174 of file DoubleAccessSparseMatrix.h.

template<class T>
map< int, T > & PLearn::DoubleAccessSparseMatrix< T >::getRow int  i  )  [virtual]
 

Definition at line 279 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
virtual int PLearn::DoubleAccessSparseMatrix< T >::getWidth  )  const [inline, virtual]
 

Definition at line 156 of file DoubleAccessSparseMatrix.h.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::incr int  i,
int  j,
inc
[virtual]
 

Definition at line 234 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::get(), and PLearn::DoubleAccessSparseMatrix< T >::null_elem.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::addCompressedVec().

template<class T>
virtual bool PLearn::DoubleAccessSparseMatrix< T >::isDoubleAccessible  )  [inline, virtual]
 

Definition at line 160 of file DoubleAccessSparseMatrix.h.

template<class T>
virtual T PLearn::DoubleAccessSparseMatrix< T >::operator() int  i,
int  j
[inline, virtual]
 

Definition at line 120 of file DoubleAccessSparseMatrix.h.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::read PStream in  )  [virtual]
 

Reimplemented in PLearn::SmoothedProbSparseMatrix.

Definition at line 659 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::PStream::get(), PLearn::DoubleAccessSparseMatrix< T >::getClassName(), PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::PStream::inmode, PLearn::DoubleAccessSparseMatrix< T >::mode, PLearn::DoubleAccessSparseMatrix< T >::name, PLearn::DoubleAccessSparseMatrix< T >::null_elem, PLERROR, PLearn::DoubleAccessSparseMatrix< T >::rows, PLearn::PStream::skipBlanksAndCommentsAndSeparators(), and PLearn::DoubleAccessSparseMatrix< T >::width.

Referenced by PLearn::operator>>().

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::resize int  n_rows,
int  n_cols
[virtual]
 

Definition at line 64 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::clear(), PLearn::DoubleAccessSparseMatrix< T >::cols, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::set int  i,
int  j,
value
[virtual]
 

Definition at line 215 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::clearElem(), PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLearn::DoubleAccessSparseMatrix< T >::null_elem, PLERROR, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::setCompressedVec T *  compressed_vec,
int  n_elems
[virtual]
 

Definition at line 509 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::clear(), and PLERROR.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::setDoubleAccessible bool  da  )  [virtual]
 

Definition at line 542 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::setMode int  new_mode  )  [virtual]
 

Definition at line 587 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
virtual void PLearn::DoubleAccessSparseMatrix< T >::setName string  n  )  [inline, virtual]
 

Definition at line 166 of file DoubleAccessSparseMatrix.h.

template<class T>
int PLearn::DoubleAccessSparseMatrix< T >::size  )  [virtual]
 

Definition at line 339 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, PLearn::DoubleAccessSparseMatrix< T >::mode, ROW_WISE, and PLearn::DoubleAccessSparseMatrix< T >::rows.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::getAsCompressedVec(), and PLearn::DoubleAccessSparseMatrix< T >::getAsMaxSizedCompressedVecs().

template<class T>
T PLearn::DoubleAccessSparseMatrix< T >::sumCol int  j  )  [virtual]
 

Definition at line 374 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, and PLearn::sum().

template<class T>
T PLearn::DoubleAccessSparseMatrix< T >::sumOfElements  )  [virtual]
 

Definition at line 518 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, COLUMN_WISE, PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, PLearn::sum(), and PLearn::DoubleAccessSparseMatrix< T >::width.

template<class T>
T PLearn::DoubleAccessSparseMatrix< T >::sumRow int  i  )  [virtual]
 

Definition at line 357 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::mode, PLERROR, ROW_WISE, PLearn::DoubleAccessSparseMatrix< T >::rows, and PLearn::sum().

template<class T>
void PLearn::DoubleAccessSparseMatrix< T >::write PStream out  )  const [virtual]
 

Reimplemented in PLearn::SmoothedProbSparseMatrix.

Definition at line 627 of file DoubleAccessSparseMatrix_impl.h.

References PLearn::DoubleAccessSparseMatrix< T >::cols, PLearn::DoubleAccessSparseMatrix< T >::double_access, PLearn::DoubleAccessSparseMatrix< T >::getClassName(), PLearn::DoubleAccessSparseMatrix< T >::height, PLearn::DoubleAccessSparseMatrix< T >::mode, PLearn::DoubleAccessSparseMatrix< T >::name, PLearn::DoubleAccessSparseMatrix< T >::null_elem, PLearn::PStream::outmode, PLERROR, PLearn::DoubleAccessSparseMatrix< T >::rows, PLearn::DoubleAccessSparseMatrix< T >::width, and PLearn::PStream::write().


Member Data Documentation

template<class T>
vector<map<int, T> > PLearn::DoubleAccessSparseMatrix< T >::cols [protected]
 

Definition at line 88 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::addCol(), PLearn::DoubleAccessSparseMatrix< T >::clear(), PLearn::DoubleAccessSparseMatrix< T >::clearCol(), PLearn::DoubleAccessSparseMatrix< T >::clearElem(), PLearn::DoubleAccessSparseMatrix< T >::clearRow(), PLearn::DoubleAccessSparseMatrix< T >::DoubleAccessSparseMatrix(), PLearn::DoubleAccessSparseMatrix< T >::exists(), PLearn::DoubleAccessSparseMatrix< T >::get(), PLearn::DoubleAccessSparseMatrix< T >::getAsCompressedVec(), PLearn::DoubleAccessSparseMatrix< T >::getAsMaxSizedCompressedVecs(), PLearn::DoubleAccessSparseMatrix< T >::getCol(), PLearn::DoubleAccessSparseMatrix< T >::read(), PLearn::DoubleAccessSparseMatrix< T >::resize(), PLearn::DoubleAccessSparseMatrix< T >::set(), PLearn::DoubleAccessSparseMatrix< T >::setDoubleAccessible(), PLearn::DoubleAccessSparseMatrix< T >::setMode(), PLearn::DoubleAccessSparseMatrix< T >::size(), PLearn::DoubleAccessSparseMatrix< T >::sumCol(), PLearn::DoubleAccessSparseMatrix< T >::sumOfElements(), and PLearn::DoubleAccessSparseMatrix< T >::write().

template<class T>
bool PLearn::DoubleAccessSparseMatrix< T >::double_access [protected]
 

Definition at line 94 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::addCol(), PLearn::DoubleAccessSparseMatrix< T >::addRow(), PLearn::DoubleAccessSparseMatrix< T >::clear(), PLearn::DoubleAccessSparseMatrix< T >::clearCol(), PLearn::DoubleAccessSparseMatrix< T >::clearElem(), PLearn::DoubleAccessSparseMatrix< T >::clearRow(), PLearn::DoubleAccessSparseMatrix< T >::DoubleAccessSparseMatrix(), PLearn::DoubleAccessSparseMatrix< T >::getAsCompressedVec(), PLearn::DoubleAccessSparseMatrix< T >::getCol(), PLearn::DoubleAccessSparseMatrix< T >::getRow(), PLearn::DoubleAccessSparseMatrix< T >::read(), PLearn::DoubleAccessSparseMatrix< T >::resize(), PLearn::DoubleAccessSparseMatrix< T >::set(), PLearn::DoubleAccessSparseMatrix< T >::setDoubleAccessible(), PLearn::DoubleAccessSparseMatrix< T >::setMode(), PLearn::DoubleAccessSparseMatrix< T >::sumCol(), PLearn::DoubleAccessSparseMatrix< T >::sumRow(), and PLearn::DoubleAccessSparseMatrix< T >::write().

template<class T>
int PLearn::DoubleAccessSparseMatrix< T >::height [protected]
 

Definition at line 96 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::addRow(), PLearn::DoubleAccessSparseMatrix< T >::clearCol(), PLearn::DoubleAccessSparseMatrix< T >::DoubleAccessSparseMatrix(), PLearn::DoubleAccessSparseMatrix< T >::exists(), PLearn::DoubleAccessSparseMatrix< T >::get(), PLearn::DoubleAccessSparseMatrix< T >::getAsCompressedVec(), PLearn::DoubleAccessSparseMatrix< T >::getAsMaxSizedCompressedVecs(), PLearn::DoubleAccessSparseMatrix< T >::getCol(), PLearn::DoubleAccessSparseMatrix< T >::getRow(), PLearn::DoubleAccessSparseMatrix< T >::read(), PLearn::DoubleAccessSparseMatrix< T >::resize(), PLearn::DoubleAccessSparseMatrix< T >::set(), PLearn::DoubleAccessSparseMatrix< T >::setDoubleAccessible(), PLearn::DoubleAccessSparseMatrix< T >::setMode(), PLearn::DoubleAccessSparseMatrix< T >::sumOfElements(), and PLearn::DoubleAccessSparseMatrix< T >::write().

template<class T>
int PLearn::DoubleAccessSparseMatrix< T >::mode [protected]
 

Definition at line 92 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::addCol(), PLearn::DoubleAccessSparseMatrix< T >::addRow(), PLearn::DoubleAccessSparseMatrix< T >::clear(), PLearn::DoubleAccessSparseMatrix< T >::clearCol(), PLearn::DoubleAccessSparseMatrix< T >::clearElem(), PLearn::DoubleAccessSparseMatrix< T >::clearRow(), PLearn::DoubleAccessSparseMatrix< T >::DoubleAccessSparseMatrix(), PLearn::DoubleAccessSparseMatrix< T >::exists(), PLearn::DoubleAccessSparseMatrix< T >::get(), PLearn::DoubleAccessSparseMatrix< T >::getAsCompressedVec(), PLearn::DoubleAccessSparseMatrix< T >::getAsMaxSizedCompressedVecs(), PLearn::DoubleAccessSparseMatrix< T >::getCol(), PLearn::DoubleAccessSparseMatrix< T >::getRow(), PLearn::DoubleAccessSparseMatrix< T >::read(), PLearn::DoubleAccessSparseMatrix< T >::resize(), PLearn::DoubleAccessSparseMatrix< T >::set(), PLearn::DoubleAccessSparseMatrix< T >::setDoubleAccessible(), PLearn::DoubleAccessSparseMatrix< T >::setMode(), PLearn::DoubleAccessSparseMatrix< T >::size(), PLearn::DoubleAccessSparseMatrix< T >::sumCol(), PLearn::DoubleAccessSparseMatrix< T >::sumOfElements(), PLearn::DoubleAccessSparseMatrix< T >::sumRow(), and PLearn::DoubleAccessSparseMatrix< T >::write().

template<class T>
string PLearn::DoubleAccessSparseMatrix< T >::name [protected]
 

Definition at line 90 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::read(), and PLearn::DoubleAccessSparseMatrix< T >::write().

template<class T>
T PLearn::DoubleAccessSparseMatrix< T >::null_elem [protected]
 

Definition at line 100 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::get(), PLearn::DoubleAccessSparseMatrix< T >::getAsMaxSizedCompressedVecs(), PLearn::DoubleAccessSparseMatrix< T >::incr(), PLearn::DoubleAccessSparseMatrix< T >::read(), PLearn::DoubleAccessSparseMatrix< T >::set(), and PLearn::DoubleAccessSparseMatrix< T >::write().

template<class T>
vector<map<int, T> > PLearn::DoubleAccessSparseMatrix< T >::rows [protected]
 

Definition at line 86 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::addRow(), PLearn::DoubleAccessSparseMatrix< T >::clear(), PLearn::DoubleAccessSparseMatrix< T >::clearCol(), PLearn::DoubleAccessSparseMatrix< T >::clearElem(), PLearn::DoubleAccessSparseMatrix< T >::clearRow(), PLearn::DoubleAccessSparseMatrix< T >::DoubleAccessSparseMatrix(), PLearn::DoubleAccessSparseMatrix< T >::exists(), PLearn::DoubleAccessSparseMatrix< T >::get(), PLearn::DoubleAccessSparseMatrix< T >::getAsCompressedVec(), PLearn::DoubleAccessSparseMatrix< T >::getAsMaxSizedCompressedVecs(), PLearn::DoubleAccessSparseMatrix< T >::getRow(), PLearn::DoubleAccessSparseMatrix< T >::read(), PLearn::DoubleAccessSparseMatrix< T >::resize(), PLearn::DoubleAccessSparseMatrix< T >::set(), PLearn::DoubleAccessSparseMatrix< T >::setDoubleAccessible(), PLearn::DoubleAccessSparseMatrix< T >::setMode(), PLearn::DoubleAccessSparseMatrix< T >::size(), PLearn::DoubleAccessSparseMatrix< T >::sumOfElements(), PLearn::DoubleAccessSparseMatrix< T >::sumRow(), and PLearn::DoubleAccessSparseMatrix< T >::write().

template<class T>
int PLearn::DoubleAccessSparseMatrix< T >::width [protected]
 

Definition at line 98 of file DoubleAccessSparseMatrix.h.

Referenced by PLearn::DoubleAccessSparseMatrix< T >::addCol(), PLearn::DoubleAccessSparseMatrix< T >::clearRow(), PLearn::DoubleAccessSparseMatrix< T >::DoubleAccessSparseMatrix(), PLearn::DoubleAccessSparseMatrix< T >::exists(), PLearn::DoubleAccessSparseMatrix< T >::get(), PLearn::DoubleAccessSparseMatrix< T >::getAsCompressedVec(), PLearn::DoubleAccessSparseMatrix< T >::getAsMaxSizedCompressedVecs(), PLearn::DoubleAccessSparseMatrix< T >::getCol(), PLearn::DoubleAccessSparseMatrix< T >::getRow(), PLearn::DoubleAccessSparseMatrix< T >::read(), PLearn::DoubleAccessSparseMatrix< T >::resize(), PLearn::DoubleAccessSparseMatrix< T >::set(), PLearn::DoubleAccessSparseMatrix< T >::setDoubleAccessible(), PLearn::DoubleAccessSparseMatrix< T >::setMode(), PLearn::DoubleAccessSparseMatrix< T >::sumOfElements(), and PLearn::DoubleAccessSparseMatrix< T >::write().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:23:50 2004 for PLearn by doxygen 1.3.7