CMSIS DSP Library from CMSIS 2.0. See http://www.onarm.com/cmsis/ for full details

Dependents:   K22F_DSP_Matrix_least_square BNO055-ELEC3810 1BNO055 ECE4180Project--Slave2 ... more

Embed: (wiki syntax)

« Back to documentation index

Fast Math Functions

Fast Math Functions

This set of functions provides a fast approximation to sine, cosine, and square root. More...

Modules

 Square Root
 

Computes the square root of a number.


 Cosine
 

Computes the trigonometric cosine function using a combination of table lookup and cubic interpolation.


 Sine
 

Computes the trigonometric sine function using a combination of table lookup and cubic interpolation.



Detailed Description

This set of functions provides a fast approximation to sine, cosine, and square root.

As compared to most of the other functions in the CMSIS math library, the fast math functions operate on individual values and not arrays. There are separate functions for Q15, Q31, and floating-point data.