Kernel for performing arctan2 computation on the input vector elementwise. Supports float and double datatype.
|
| template<typename T > |
| MATHLIB_STATUS | MATHLIB_atan2 (size_t length, T *pSrc0, T *pSrc1, T *pDst) |
| | Performs the elementwise arc-tangent2 of the input vector. Function can be overloaded with float and double pointers, and the appropriate precision is employed to compute elementwise arc-tangent2 of the input vector. More...
|
| |
| MATHLIB_STATUS | MATHLIB_atan2_sp (size_t length, float *pSrc0, float *pSrc1, float *pDst) |
| | This function is the C interface for MATHLIB_atan2. Function accepts float pointers. More...
|
| |
| MATHLIB_STATUS | MATHLIB_atan2_dp (size_t length, double *pSrc0, double *pSrc1, double *pDst) |
| | This function is the C interface for MATHLIB_atan2. Function accepts double pointers. More...
|
| |
◆ MATHLIB_atan2()
template<typename T >
| MATHLIB_STATUS MATHLIB_atan2 |
( |
size_t |
length, |
|
|
T * |
pSrc0, |
|
|
T * |
pSrc1, |
|
|
T * |
pDst |
|
) |
| |
Performs the elementwise arc-tangent2 of the input vector. Function can be overloaded with float and double pointers, and the appropriate precision is employed to compute elementwise arc-tangent2 of the input vector.
- Template Parameters
-
| T | : implementation datatype |
- Parameters
-
| [in] | length | : length of input vector |
| [in] | pSrc0 | : pointer to buffer holding input vector |
| [in] | pSrc1 | : pointer to buffer holding input vector |
| [out] | pDst | : pointer to buffer holding result vector |
- Returns
- Status of success
◆ MATHLIB_atan2_sp()
| MATHLIB_STATUS MATHLIB_atan2_sp |
( |
size_t |
length, |
|
|
float * |
pSrc0, |
|
|
float * |
pSrc1, |
|
|
float * |
pDst |
|
) |
| |
This function is the C interface for MATHLIB_atan2. Function accepts float pointers.
- Template Parameters
-
| T | : implementation datatype |
- Parameters
-
| [in] | length | : length of input vector |
| [in] | pSrc0 | : pointer to buffer holding input vector |
| [in] | pSrc1 | : pointer to buffer holding input vector |
| [out] | pDst | : pointer to buffer holding result vector |
- Returns
- Status of success
Definition at line 573 of file MATHLIB_atan2.cpp.
◆ MATHLIB_atan2_dp()
| MATHLIB_STATUS MATHLIB_atan2_dp |
( |
size_t |
length, |
|
|
double * |
pSrc0, |
|
|
double * |
pSrc1, |
|
|
double * |
pDst |
|
) |
| |
This function is the C interface for MATHLIB_atan2. Function accepts double pointers.
- Template Parameters
-
| T | : implementation datatype |
- Parameters
-
| [in] | length | : length of input vector |
| [in] | pSrc0 | : pointer to buffer holding input vector |
| [in] | pSrc1 | : pointer to buffer holding input vector |
| [out] | pDst | : pointer to buffer holding result vector |
- Returns
- Status of success
Definition at line 580 of file MATHLIB_atan2.cpp.