|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include "dspm_mulc.h"Go to the source code of this file.
Functions | |
| esp_err_t | dspm_mulc_f32_ansi (const float *input, float *output, float C, int rows, int cols, int padd_in, int padd_out, int step_in, int step_out) |
| multiply a constant and an array with padding | |
| esp_err_t dspm_mulc_f32_ansi | ( | const float * | input, |
| float * | output, | ||
| float | C, | ||
| int | rows, | ||
| int | cols, | ||
| int | padd_in, | ||
| int | padd_out, | ||
| int | step_in, | ||
| int | step_out ) |
multiply a constant and an array with padding
The function multiplies a constant and an array defined as s sub-matrix with padding out[row * ptr_step_out + col * step_out] = input[row * ptr_step_in + col * step_in] * C; The implementation uses ANSI C and could be compiled and run on any platform
| [in] | input | input array |
| [out] | output | output array |
| [in] | C | constant value |
| [in] | rows | input matrix rows |
| [in] | cols | input matrix cols |
| [in] | padd_in | input array padding |
| [in] | padd_out | output array padding |
| [in] | step_in | step over input array (by default should be 1) |
| [in] | step_out | step over output array (by default should be 1) |
Definition at line 9 of file dspm_mulc_f32_ansi.c.
References C, ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.