TRF Language Model
|
#include <wb-mat.h>
Public Member Functions | |
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) |
Protected Attributes | |
T * | m_pBuf |
buf pointer More... | |
int | m_nRow |
int | m_nCol |
Friends | |
T | MatVec2 (MatShell< T > &m, VecShell< T > &v1, VecShell< T > &v2) |
calculate V1*M*V2 More... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |