class with static functions for buffer operations with type T
More...
#include <Vector.h>
|
template<typename T > |
static void | setZero (T *pfSrcDest, int iLength) |
|
template<typename T > |
static void | setZeroBelowThresh (T *pfSrcDest, int iLength, T Thresh) |
|
template<typename T > |
static void | copy (T *pDest, const T *pSource, int iLength) |
|
template<typename T > |
static void | flip_I (T *pfSrcDest, int iLength) |
|
template<typename T > |
static void | moveInMem (T *pfSrcDest, int iDestIdx, int iSrcIdx, int iLength) |
|
class with static functions for buffer operations with type T
◆ copy()
template<typename T >
static void CVector::copy |
( |
T * |
pDest, |
|
|
const T * |
pSource, |
|
|
int |
iLength |
|
) |
| |
|
inlinestatic |
copies buffer of type T
- Parameters
-
pDest | pointer to destination memory |
pSource | pointer to source memory |
iLength | length of buffer |
- Returns
- void
◆ flip_I()
template<typename T >
static void CVector::flip_I |
( |
T * |
pfSrcDest, |
|
|
int |
iLength |
|
) |
| |
|
inlinestatic |
reverses buffer (last to first element)
- Parameters
-
pfSrcDest | pointer to memory to be flipped |
iLength | number of elements |
- Returns
- void
◆ moveInMem()
template<typename T >
static void CVector::moveInMem |
( |
T * |
pfSrcDest, |
|
|
int |
iDestIdx, |
|
|
int |
iSrcIdx, |
|
|
int |
iLength |
|
) |
| |
|
inlinestatic |
moves a subset of the current buffer
- Parameters
-
pfSrcDest | source and destination |
iDestIdx | destination index |
iSrcIdx | source index |
iLength | number of elements to be moved |
- Returns
- void
◆ setZero()
template<typename T >
static void CVector::setZero |
( |
T * |
pfSrcDest, |
|
|
int |
iLength |
|
) |
| |
|
inlinestatic |
sets a buffer to zero
- Parameters
-
pfSrcDest | pointer to memory to be modified |
iLength | buffer length |
- Returns
- void
◆ setZeroBelowThresh()
template<typename T >
static void CVector::setZeroBelowThresh |
( |
T * |
pfSrcDest, |
|
|
int |
iLength, |
|
|
T |
Thresh |
|
) |
| |
|
inlinestatic |
sets all values smaller than a threshold to 0
- Parameters
-
pfSrcDest | pointer to memory to be modified |
iLength | buffer length |
Thresh | threshold value |
- Returns
- void
The documentation for this class was generated from the following file: