|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Functions | |
| esp_err_t | dspm_mult_s16_ansi (const int16_t *A, const int16_t *B, int16_t *C, int m, int n, int k, int shift) |
| Matrix multiplication 16 bit signeg int. | |
| esp_err_t dspm_mult_s16_ansi | ( | const int16_t * | A, |
| const int16_t * | B, | ||
| int16_t * | C, | ||
| int | m, | ||
| int | n, | ||
| int | k, | ||
| int | shift ) |
Matrix multiplication 16 bit signeg int.
Matrix multiplication for two signed 16 bit fixed point matrices: C[m][k] = (A[m][n] * B[n][k]) >> (15- shift) The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | A | input matrix A[m][n] |
| [in] | B | input matrix B[n][k] |
| C | result matrix C[m][k] | |
| [in] | m | matrix dimension |
| [in] | n | matrix dimension |
| [in] | k | matrix dimension |
| [in] | shift | every result will be shifted and stored as 16 bit signed value. |
Definition at line 21 of file dspm_mult_s16_ansi.c.