MATHLIB User Guide
MATHLIB_pow.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 T >
static void MATHLIB_pow_vector (size_t length, T *restrict pSrc0, T *restrict pSrc1, T *restrict pDst)
 
template<typename T >
static MATHLIB_STATUS MATHLIB_pow_exp (__SE_TEMPLATE_v1 *restrict se0Params, __SA_TEMPLATE_v1 *restrict sa0Params, size_t length, T *restrict pSrc0, T *restrict pDst)
 
template<typename T >
static MATHLIB_STATUS MATHLIB_pow_cond (size_t length, T *restrict pSrc0, T *restrict pSrc1, T *restrict pDst)
 
template<typename vecType >
static vecType MATHLIB_pow_log (vecType inVec)
 
template<>
c7x::float_vec MATHLIB_pow_log< c7x::float_vec > (c7x::float_vec inVec)
 
template<>
MATHLIB_STATUS MATHLIB_pow_cond< float > (size_t length, float *restrict pSrc0, float *restrict pSrc1, float *restrict pDst)
 
template<>
MATHLIB_STATUS MATHLIB_pow_exp< float > (__SE_TEMPLATE_v1 *restrict se0Params, __SA_TEMPLATE_v1 *restrict sa0Params, size_t length, float *restrict pSrc0, float *restrict pDst)
 
template<>
void MATHLIB_pow_vector< float > (size_t length, float *restrict pSrc0, float *restrict pSrc1, float *restrict pDst)
 
static c7x::double_vec cmn_DIVDP_opt (c7x::double_vec a, c7x::double_vec b)
 
template<typename T >
static void MATHLIB_pow_log_opt (size_t length, T *restrict pSrc0, T *restrict pSrc1, T *restrict pDst)
 
template<>
void MATHLIB_pow_log_opt< double > (size_t length, double *restrict pSrc0, double *restrict pSrc1, double *restrict pDst)
 
template<>
MATHLIB_STATUS MATHLIB_pow_cond< double > (size_t length, double *restrict pSrc0, double *restrict pSrc1, double *restrict pDst)
 
template<>
MATHLIB_STATUS MATHLIB_pow_exp< double > (__SE_TEMPLATE_v1 *restrict se0Params, __SA_TEMPLATE_v1 *restrict sa0Params, size_t length, double *restrict pSrc1, double *restrict pDst)
 
template<>
void MATHLIB_pow_vector< double > (size_t length, double *restrict pSrc0, double *restrict pSrc1, double *restrict pDst)
 
template<typename T >
MATHLIB_STATUS MATHLIB_pow (size_t length, T *restrict pSrc0, T *restrict pSrc1, T *restrict pDst)
 
template MATHLIB_STATUS MATHLIB_pow< float > (size_t length, float *restrict pSrc0, float *restrict pSrc1, float *restrict pDst)
 
template MATHLIB_STATUS MATHLIB_pow< double > (size_t length, double *restrict pSrc0, double *restrict pSrc1, double *restrict pDst)
 
MATHLIB_STATUS MATHLIB_pow_sp (size_t length, float *restrict pSrc0, float *restrict pSrc1, float *restrict pDst)
 
MATHLIB_STATUS MATHLIB_pow_dp (size_t length, double *restrict pSrc0, double *restrict pSrc1, double *restrict pDst)
 

Macro Definition Documentation

◆ ELEMENT_COUNT

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

Definition at line 34 of file MATHLIB_pow.cpp.

Function Documentation

◆ MATHLIB_pow_vector()

template<typename T >
static void MATHLIB_pow_vector ( size_t  length,
T *restrict  pSrc0,
T *restrict  pSrc1,
T *restrict  pDst 
)
inlinestatic

◆ MATHLIB_pow_exp()

template<typename T >
static MATHLIB_STATUS MATHLIB_pow_exp ( __SE_TEMPLATE_v1 *restrict  se0Params,
__SA_TEMPLATE_v1 *restrict  sa0Params,
size_t  length,
T *restrict  pSrc0,
T *restrict  pDst 
)
inlinestatic

◆ MATHLIB_pow_cond()

template<typename T >
static MATHLIB_STATUS MATHLIB_pow_cond ( size_t  length,
T *restrict  pSrc0,
T *restrict  pSrc1,
T *restrict  pDst 
)
inlinestatic

◆ MATHLIB_pow_log()

template<typename vecType >
static vecType MATHLIB_pow_log ( vecType  inVec)
inlinestatic

◆ MATHLIB_pow_log< c7x::float_vec >()

template<>
c7x::float_vec MATHLIB_pow_log< c7x::float_vec > ( c7x::float_vec  inVec)
inline

Definition at line 69 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow_cond< float >()

template<>
MATHLIB_STATUS MATHLIB_pow_cond< float > ( size_t  length,
float *restrict  pSrc0,
float *restrict  pSrc1,
float *restrict  pDst 
)
inline

Definition at line 232 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow_exp< float >()

template<>
MATHLIB_STATUS MATHLIB_pow_exp< float > ( __SE_TEMPLATE_v1 *restrict  se0Params,
__SA_TEMPLATE_v1 *restrict  sa0Params,
size_t  length,
float *restrict  pSrc0,
float *restrict  pDst 
)
inline

Definition at line 373 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow_vector< float >()

template<>
void MATHLIB_pow_vector< float > ( size_t  length,
float *restrict  pSrc0,
float *restrict  pSrc1,
float *restrict  pDst 
)
inline

Definition at line 551 of file MATHLIB_pow.cpp.

◆ cmn_DIVDP_opt()

static c7x::double_vec cmn_DIVDP_opt ( c7x::double_vec  a,
c7x::double_vec  b 
)
inlinestatic

Definition at line 611 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow_log_opt()

template<typename T >
static void MATHLIB_pow_log_opt ( size_t  length,
T *restrict  pSrc0,
T *restrict  pSrc1,
T *restrict  pDst 
)
inlinestatic

◆ MATHLIB_pow_log_opt< double >()

template<>
void MATHLIB_pow_log_opt< double > ( size_t  length,
double *restrict  pSrc0,
double *restrict  pSrc1,
double *restrict  pDst 
)
inline

Definition at line 630 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow_cond< double >()

template<>
MATHLIB_STATUS MATHLIB_pow_cond< double > ( size_t  length,
double *restrict  pSrc0,
double *restrict  pSrc1,
double *restrict  pDst 
)
inline

Definition at line 772 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow_exp< double >()

template<>
MATHLIB_STATUS MATHLIB_pow_exp< double > ( __SE_TEMPLATE_v1 *restrict  se0Params,
__SA_TEMPLATE_v1 *restrict  sa0Params,
size_t  length,
double *restrict  pSrc1,
double *restrict  pDst 
)
inline

Definition at line 880 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow_vector< double >()

template<>
void MATHLIB_pow_vector< double > ( size_t  length,
double *restrict  pSrc0,
double *restrict  pSrc1,
double *restrict  pDst 
)
inline

Definition at line 972 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow()

template<typename T >
MATHLIB_STATUS MATHLIB_pow ( size_t  length,
T *restrict  pSrc0,
T *restrict  pSrc1,
T *restrict  pDst 
)

Definition at line 1004 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow< float >()

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

◆ MATHLIB_pow< double >()

template MATHLIB_STATUS MATHLIB_pow< double > ( size_t  length,
double *restrict  pSrc0,
double *restrict  pSrc1,
double *restrict  pDst 
)

◆ MATHLIB_pow_sp()

MATHLIB_STATUS MATHLIB_pow_sp ( size_t  length,
float *restrict  pSrc0,
float *restrict  pSrc1,
float *restrict  pDst 
)

Definition at line 1046 of file MATHLIB_pow.cpp.

◆ MATHLIB_pow_dp()

MATHLIB_STATUS MATHLIB_pow_dp ( size_t  length,
double *restrict  pSrc0,
double *restrict  pSrc1,
double *restrict  pDst 
)

Definition at line 1053 of file MATHLIB_pow.cpp.