MATHLIB User Guide
MATHLIB_div.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 T >
MATHLIB_STATUS MATHLIB_div (size_t length, T *pSrc0, T *pSrc1, T *pDst)
 Performs the elementwise divide of two input vectors. Function can be overloaded with float or double pointers, and the appropriate precision is employed to compute elementwise divide of two vectors. More...
 
template MATHLIB_STATUS MATHLIB_div< float > (size_t length, float *pSrc0, float *pSrc1, float *pDst)
 
MATHLIB_STATUS MATHLIB_div_sp (size_t length, float *pSrc0, float *pSrc1, float *pDst)
 This function is the C interface for MATHLIB_div. 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_div.cpp.

◆ ELEMENT_TYPE

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

Definition at line 35 of file MATHLIB_div.cpp.

Function Documentation

◆ MATHLIB_div< float >()

template MATHLIB_STATUS MATHLIB_div< float > ( size_t  length,
float *  pSrc0,
float *  pSrc1,
float *  pDst 
)