TRF Language Model
wb::Mat< T > Class Template Reference

#include <wb-mat.h>

Inheritance diagram for wb::Mat< T >:
wb::MatShell< T >

Public Member Functions

 Mat ()
 
 Mat (int row, int col)
 
 ~Mat ()
 
void Reset (int row=0, int col=0)
 
void Copy (MatShell< T > &m)
 
- Public Member Functions inherited from wb::MatShell< T >
 MatShell ()
 
 MatShell (T *pbuf, int row, int col)
 
void Fill (T v)
 
T * GetBuf () const
 
T & Get (unsigned int i, unsigned int j)
 
int GetSize () const
 
int ByteSize () const
 
int GetRow () const
 
int GetCol () const
 
void Reset (T *pbuf, int row, int col)
 
void Read (File &file)
 
void Write (File &file)
 
VecShell< T > operator[] (int i)
 
 operator T* ()
 
bool operator== (MatShell &m)
 

Additional Inherited Members

- Protected Attributes inherited from wb::MatShell< T >
T * m_pBuf
 buf pointer More...
 
int m_nRow
 
int m_nCol
 

Detailed Description

template<class T>
class wb::Mat< T >

Definition at line 30 of file wb-mat.h.

Constructor & Destructor Documentation

§ Mat() [1/2]

template<class T>
wb::Mat< T >::Mat ( )
inline

Definition at line 148 of file wb-mat.h.

§ Mat() [2/2]

template<class T>
wb::Mat< T >::Mat ( int  row,
int  col 
)
inline

Definition at line 149 of file wb-mat.h.

§ ~Mat()

template<class T>
wb::Mat< T >::~Mat ( )
inline

Definition at line 150 of file wb-mat.h.


The documentation for this class was generated from the following file: