|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Macros | |
| #define | dsps_addc_f32 dsps_addc_f32_ansi |
Functions | |
| esp_err_t | dsps_addc_f32_ansi (const float *input, float *output, int len, float C, int step_in, int step_out) |
| add constant | |
| esp_err_t | dsps_addc_f32_ae32 (const float *input, float *output, int len, float C, int step_in, int step_out) |
| #define dsps_addc_f32 dsps_addc_f32_ansi |
Definition at line 62 of file dsps_addc.h.
| esp_err_t dsps_addc_f32_ae32 | ( | const float * | input, |
| float * | output, | ||
| int | len, | ||
| float | C, | ||
| int | step_in, | ||
| int | step_out ) |
References C.
| esp_err_t dsps_addc_f32_ansi | ( | const float * | input, |
| float * | output, | ||
| int | len, | ||
| float | C, | ||
| int | step_in, | ||
| int | step_out ) |
add constant
The function adds constant to the input array x[i*step_out] = y[i*step_in] + C; 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 | |
| C | constant value | |
| step_in | step over input array (by default should be 1) | |
| step_out | step over output array (by default should be 1) |
Definition at line 17 of file dsps_addc_f32_ansi.c.
References C, ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.
Referenced by dspm::Mat::operator+=(), and dspm::Mat::operator-=().