![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|

Go to the source code of this file.
Functions | |
| int | mtimes (const double A_data[], const int A_size[2], const double B_data[], double C_data[]) |
| Performs matrix multiplication: C = A * B. | |
| int mtimes | ( | const double | A_data[], |
| const int | A_size[2], | ||
| const double | B_data[], | ||
| double | C_data[] | ||
| ) |
Performs matrix multiplication: C = A * B.
This function multiplies an M-by-N matrix A with an N-by-P matrix B to produce an M-by-P matrix C. The inner dimensions of A and B must match.
| [in] | A_data | A 1D array representing the first input matrix, A (row-major). |
| [in] | A_size | An array of 2 integers specifying the dimensions of A as [rows, cols]. |
| [in] | B_data | A 1D array representing the second input matrix, B (row-major). (Note: Its size is inferred from A's dimensions). |
| [out] | C_data | A pre-allocated 1D array where the resulting output matrix C will be stored. |
Definition at line 23 of file mtimes.c.
Referenced by cdEvaluation().
