MATHLIB User Guide
MATHLIB_exp2.cpp File Reference

Go to the source code of this file.

Macros

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

Functions

template<typename vecType >
static vecType MATHLIB_exp2_div (vecType a, vecType b)
 
template<typename T >
MATHLIB_STATUS MATHLIB_exp2 (size_t length, T *pSrc, T *pDst)
 Performs the elementwise 2^x for all x in the input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise exponentialization of the input vector. More...
 
template MATHLIB_STATUS MATHLIB_exp2< float > (size_t length, float *pSrc, float *pDst)
 
MATHLIB_STATUS MATHLIB_exp2_sp (size_t length, float *pSrc, float *pDst)
 This function is the C interface for MATHLIB_exp2. 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_exp2.cpp.

Function Documentation

◆ MATHLIB_exp2_div()

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

Definition at line 50 of file MATHLIB_exp2.cpp.

◆ MATHLIB_exp2< float >()

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