|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Functions | |
| float | dsps_sqrtf_f32_ansi (float f) |
| square root approximation | |
| esp_err_t | dsps_sqrt_f32_ansi (const float *input, float *output, int len) |
| square root approximation | |
| float | dsps_inverted_sqrtf_f32_ansi (float data) |
| inverted square root approximation | |
| float dsps_inverted_sqrtf_f32_ansi | ( | float | data | ) |
inverted square root approximation
The function takes inverted square root approximation x ~ 1/sqrt(y); The implementation use ANSI C and could be compiled and run on any platform
| [in] | data | input value |
Definition at line 44 of file dsps_sqrt_f32_ansi.c.
References data.
| esp_err_t dsps_sqrt_f32_ansi | ( | const float * | input, |
| float * | output, | ||
| int | len ) |
square root approximation
The function takes square root approximation x[i] ~ sqrt(y[i]); i=[0..len) The implementation use ANSI C and could be compiled and run on any platform
| [in] | input | input array |
| output | output array | |
| len | amount of operations for arrays |
Definition at line 29 of file dsps_sqrt_f32_ansi.c.
References dsps_sqrtf_f32_ansi(), ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.
|
inline |
square root approximation
The function takes square root approximation x ~ sqrt(y); The implementation use ANSI C and could be compiled and run on any platform
| [in] | data | input value |
Definition at line 19 of file dsps_sqrt_f32_ansi.c.
Referenced by dsps_sqrt_f32_ansi().