Kernel for elementwise raising 10 to the power of the input. Supports float datatype.
|
| template<typename T > |
| MATHLIB_STATUS | MATHLIB_exp10 (size_t length, T *pSrc, T *pDst) |
| | Performs the elementwise 10^x for all x in the input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise exponentialization of the input vector. More...
|
| |
| MATHLIB_STATUS | MATHLIB_exp10_sp (size_t length, float *pSrc, float *pDst) |
| | This function is the C interface for MATHLIB_exp10. Function accepts float pointers. More...
|
| |
◆ MATHLIB_exp10()
Performs the elementwise 10^x for all x in the input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise exponentialization of the input vector.
- Template Parameters
-
| T | : implementation datatype |
- Parameters
-
| [in] | length | : length of input vector |
| [in] | pSrc | : pointer to buffer holding input vector |
| [out] | pDst | : pointer to buffer holding result vector |
- Returns
- Status of success.
◆ MATHLIB_exp10_sp()
| MATHLIB_STATUS MATHLIB_exp10_sp |
( |
size_t |
length, |
|
|
float * |
pSrc, |
|
|
float * |
pDst |
|
) |
| |
This function is the C interface for MATHLIB_exp10. Function accepts float pointers.
- Template Parameters
-
| T | : implementation datatype |
- Parameters
-
| [in] | length | : length of input vector |
| [in] | pSrc | : pointer to buffer holding input vector |
| [out] | pDst | : pointer to buffer holding result vector |
- Returns
- Status of success.
Definition at line 330 of file MATHLIB_exp10.cpp.