CMSIS-DSP  Version 1.9.0
CMSIS DSP Software Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fast_math_functions.h File Reference

Macros

#define FAST_MATH_TABLE_SIZE
 Macros required for SINE and COSINE Fast math approximations. More...
 
#define FAST_MATH_Q31_SHIFT
 
#define FAST_MATH_Q15_SHIFT
 
#define PI
 

Functions

float32_t arm_sin_f32 (float32_t x)
 Fast approximation to the trigonometric sine function for floating-point data. More...
 
q31_t arm_sin_q31 (q31_t x)
 Fast approximation to the trigonometric sine function for Q31 data. More...
 
q15_t arm_sin_q15 (q15_t x)
 Fast approximation to the trigonometric sine function for Q15 data. More...
 
float32_t arm_cos_f32 (float32_t x)
 Fast approximation to the trigonometric cosine function for floating-point data. More...
 
q31_t arm_cos_q31 (q31_t x)
 Fast approximation to the trigonometric cosine function for Q31 data. More...
 
q15_t arm_cos_q15 (q15_t x)
 Fast approximation to the trigonometric cosine function for Q15 data. More...
 
void arm_vlog_f32 (const float32_t *pSrc, float32_t *pDst, uint32_t blockSize)
 Floating-point vector of log values. More...
 
void arm_vexp_f32 (const float32_t *pSrc, float32_t *pDst, uint32_t blockSize)
 Floating-point vector of exp values. More...
 
__STATIC_FORCEINLINE arm_status arm_sqrt_f32 (float32_t in, float32_t *pOut)
 Floating-point square root function. More...
 
arm_status arm_sqrt_q31 (q31_t in, q31_t *pOut)
 Q31 square root function. More...
 
arm_status arm_sqrt_q15 (q15_t in, q15_t *pOut)
 Q15 square root function. More...
 
void arm_vsqrt_f32 (float32_t *pIn, float32_t *pOut, uint16_t len)
 Vector Floating-point square root function. More...
 
void arm_vsqrt_q31 (q31_t *pIn, q31_t *pOut, uint16_t len)
 
void arm_vsqrt_q15 (q15_t *pIn, q15_t *pOut, uint16_t len)
 
arm_status arm_divide_q15 (q15_t numerator, q15_t denominator, q15_t *quotient, int16_t *shift)
 Fixed point division. More...
 

Macro Definition Documentation

#define FAST_MATH_Q15_SHIFT
#define FAST_MATH_Q31_SHIFT
#define FAST_MATH_TABLE_SIZE
#define PI

Function Documentation

void arm_vexp_f32 ( const float32_t pSrc,
float32_t pDst,
uint32_t  blockSize 
)
Parameters
[in]pSrcpoints to the input vector
[out]pDstpoints to the output vector
[in]blockSizenumber of samples in each vector
Returns
none
void arm_vlog_f32 ( const float32_t pSrc,
float32_t pDst,
uint32_t  blockSize 
)

end of cos group

Parameters
[in]pSrcpoints to the input vector
[out]pDstpoints to the output vector
[in]blockSizenumber of samples in each vector
Returns
none