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

#include <wb-mat.h>

Inheritance diagram for wb::Vec< T >:
wb::VecShell< T >

Public Member Functions

 Vec ()
 
 Vec (int size)
 
 ~Vec ()
 
void Reset (int size=0)
 
void Copy (VecShell< T > v)
 
- Public Member Functions inherited from wb::VecShell< T >
 VecShell ()
 
 VecShell (T *p, int size)
 
void Fill (T v)
 
T * GetBuf () const
 
int GetSize () const
 
int ByteSize () const
 
VecShell< T > GetSub (int nPos, int nLen)
 
void Reset (T *p, int size)
 
T & operator[] (int i)
 
void operator= (VecShell v)
 
void operator+= (VecShell v)
 
void operator-= (VecShell v)
 
void operator*= (T n)
 
void operator/= (T n)
 
bool operator== (VecShell v)
 
Sum ()
 

Additional Inherited Members

- Protected Attributes inherited from wb::VecShell< T >
T * m_pBuf
 buf pointer More...
 
int m_nSize
 buf size More...
 

Detailed Description

template<class T>
class wb::Vec< T >

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

Constructor & Destructor Documentation

§ Vec() [1/2]

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

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

§ Vec() [2/2]

template<class T>
wb::Vec< T >::Vec ( int  size)
inline

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

§ ~Vec()

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

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


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