Kernel for computing elementwise tangent of an input vector. Supports float datatype.
|
| template<typename T > |
| MATHLIB_STATUS | MATHLIB_tan (size_t length, T *pSrc, T *pDst) |
| | Performs the elementwise tangent of an input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise tangent of the input vector. More...
|
| |
| MATHLIB_STATUS | MATHLIB_tan_sp (size_t length, float *pSrc, float *pDst) |
| | This function is the C interface for MATHLIB_tan. Function accepts float pointers. More...
|
| |
◆ MATHLIB_tan()
Performs the elementwise tangent of an input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise tangent 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.
Definition at line 112 of file MATHLIB_tan.cpp.
◆ MATHLIB_tan_sp()
| MATHLIB_STATUS MATHLIB_tan_sp |
( |
size_t |
length, |
|
|
float * |
pSrc, |
|
|
float * |
pDst |
|
) |
| |
This function is the C interface for MATHLIB_tan. 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 235 of file MATHLIB_tan.cpp.