MATHLIB User Guide
MATHLIB_atan.cpp File Reference

Go to the source code of this file.

Macros

#define ELEMENT_COUNT(x)   c7x::element_count_of<x>::value
 
#define ELEMENT_TYPE(x)   typename c7x::element_type_of<x>::type
 

Functions

template<typename vecType >
static vecType divspMod_atan_i (vecType a, vecType b)
 
template<typename vecType >
static vecType atan2f_sr1i_atan_i (vecType g1, vecType s, vecType an)
 
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...
 
template<typename vecType , typename vecBool >
static vecType atan2f_sr1i_atan_i (vecType g1, vecBool s, vecBool an)
 
template MATHLIB_STATUS MATHLIB_atan< float > (size_t length, float *pSrc, float *pDst)
 
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...
 

Macro Definition Documentation

◆ ELEMENT_COUNT

#define ELEMENT_COUNT (   x)    c7x::element_count_of<x>::value

Definition at line 34 of file MATHLIB_atan.cpp.

◆ ELEMENT_TYPE

#define ELEMENT_TYPE (   x)    typename c7x::element_type_of<x>::type

Definition at line 36 of file MATHLIB_atan.cpp.

Function Documentation

◆ divspMod_atan_i()

template<typename vecType >
static vecType divspMod_atan_i ( vecType  a,
vecType  b 
)
inlinestatic

Definition at line 58 of file MATHLIB_atan.cpp.

◆ atan2f_sr1i_atan_i() [1/2]

template<typename vecType >
static vecType atan2f_sr1i_atan_i ( vecType  g1,
vecType  s,
vecType  an 
)
inlinestatic

◆ atan2f_sr1i_atan_i() [2/2]

template<typename vecType , typename vecBool >
static vecType atan2f_sr1i_atan_i ( vecType  g1,
vecBool  s,
vecBool  an 
)
inlinestatic

Definition at line 77 of file MATHLIB_atan.cpp.

◆ MATHLIB_atan< float >()

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