MATHLIB User Guide
MATHLIB_atan

Introduction

Kernel for ataning the input vector elementwise. Supports float datatype.

Functions

template<typename T >
MATHLIB_STATUS MATHLIB_atan (size_t length, T *pSrc, T *pDst)
 Performs the elementwise arc-tangent of the input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise arc-tangent of the input vector. More...
 
MATHLIB_STATUS MATHLIB_atan_sp (size_t length, float *pSrc, float *pDst)
 This function is the C interface for MATHLIB_atan. Function accepts float pointers. More...
 

Function Documentation

◆ MATHLIB_atan()

template<typename T >
MATHLIB_STATUS MATHLIB_atan ( size_t  length,
T *  pSrc,
T *  pDst 
)

Performs the elementwise arc-tangent of the input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise arc-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
Remarks
None

Definition at line 143 of file MATHLIB_atan.cpp.

◆ MATHLIB_atan_sp()

MATHLIB_STATUS MATHLIB_atan_sp ( size_t  length,
float *  pSrc,
float *  pDst 
)

This function is the C interface for MATHLIB_atan. 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
Remarks
None

Definition at line 259 of file MATHLIB_atan.cpp.