MATHLIB User Guide
MATHLIB_acos.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 sqrt_acos_i (vecType a)
 
template<typename vecType >
static vecType pol_est_acos_i (vecType x)
 
template<typename T >
MATHLIB_STATUS MATHLIB_acos (size_t length, T *pSrc, T *pDst)
 Performs the elementwise arc-cosine of an input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise arc-cosine of a vector. More...
 
template MATHLIB_STATUS MATHLIB_acos< float > (size_t length, float *pSrc, float *pDst)
 
MATHLIB_STATUS MATHLIB_acos_sp (size_t length, float *pSrc, float *pDst)
 This function is the C interface for MATHLIB_acos. 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_acos.cpp.

◆ ELEMENT_TYPE

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

Definition at line 36 of file MATHLIB_acos.cpp.

Function Documentation

◆ sqrt_acos_i()

template<typename vecType >
static vecType sqrt_acos_i ( vecType  a)
inlinestatic

Definition at line 59 of file MATHLIB_acos.cpp.

◆ pol_est_acos_i()

template<typename vecType >
static vecType pol_est_acos_i ( vecType  x)
inlinestatic

Definition at line 91 of file MATHLIB_acos.cpp.

◆ MATHLIB_acos< float >()

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