Kernel for elementwise log base 10 of an input vector. Supports float and double datatype.
◆ MATHLIB_log10()
Performs the elementwise log base 10 of an input vector. Function can be overloaded with float and double pointers, and the appropriate precision is employed to compute elementwise log base 10 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_log10_sp()
| MATHLIB_STATUS MATHLIB_log10_sp |
( |
size_t |
length, |
|
|
float * |
pSrc, |
|
|
float * |
pDst |
|
) |
| |
This function is the C interface for MATHLIB_log10. 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 604 of file MATHLIB_log10.cpp.
◆ MATHLIB_log10_dp()
| MATHLIB_STATUS MATHLIB_log10_dp |
( |
size_t |
length, |
|
|
double * |
pSrc, |
|
|
double * |
pDst |
|
) |
| |
This function is the C interface for MATHLIB_log10. Function accepts double 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 611 of file MATHLIB_log10.cpp.