SPUC::matrix< T > Class Template Reference

#include <matrix_class.h>

List of all members.

Public Member Functions

 matrix ()
 matrix (int inrow, int incol)
 matrix (const matrix< T > &m)
 ~matrix ()
int num_cols () const
int num_rows () const
int len () const
void reset ()
operator() (int R, int C) const
operator() (int index) const
operator[] (int index) const
T & operator() (int R, int C)
T & operator() (int index)
T & operator[] (int index)
void operator= (T t)
void operator= (const matrix< T > &m)
void operator= (const vector< T > &v)

Protected Member Functions

void resize (int r, int c)

Protected Attributes

int datasize
int rows
int cols
smart_array< T > data

template<class T>
class SPUC::matrix< T >


Constructor & Destructor Documentation

template<class T>
SPUC::matrix< T >::matrix (  )  [inline]

template<class T>
SPUC::matrix< T >::matrix ( int  inrow,
int  incol 
) [inline]

template<class T>
SPUC::matrix< T >::matrix ( const matrix< T > &  m  )  [inline]

template<class T>
SPUC::matrix< T >::~matrix (  )  [inline]


Member Function Documentation

template<class T>
int SPUC::matrix< T >::len (  )  const [inline]

template<class T>
int SPUC::matrix< T >::num_cols (  )  const [inline]

template<class T>
int SPUC::matrix< T >::num_rows (  )  const [inline]

template<class T>
T& SPUC::matrix< T >::operator() ( int  index  )  [inline]

template<class T>
T& SPUC::matrix< T >::operator() ( int  R,
int  C 
) [inline]

template<class T>
T SPUC::matrix< T >::operator() ( int  index  )  const [inline]

template<class T>
T SPUC::matrix< T >::operator() ( int  R,
int  C 
) const [inline]

template<class T>
void SPUC::matrix< T >::operator= ( const vector< T > &  v  )  [inline]

template<class T>
void SPUC::matrix< T >::operator= ( const matrix< T > &  m  )  [inline]

template<class T>
void SPUC::matrix< T >::operator= ( t  )  [inline]

template<class T>
T& SPUC::matrix< T >::operator[] ( int  index  )  [inline]

template<class T>
T SPUC::matrix< T >::operator[] ( int  index  )  const [inline]

template<class T>
void SPUC::matrix< T >::reset ( void   )  [inline]

template<class T>
void SPUC::matrix< T >::resize ( int  r,
int  c 
) [inline, protected]


Member Data Documentation

template<class T>
int SPUC::matrix< T >::cols [protected]

template<class T>
smart_array<T> SPUC::matrix< T >::data [protected]

template<class T>
int SPUC::matrix< T >::datasize [protected]

template<class T>
int SPUC::matrix< T >::rows [protected]


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 19:40:48 2008 for DSPTemplates by  doxygen 1.4.7