LIBML
Version 3.2.4
LIBML DSP Software Library
|
Functions | |
void | tpt_mat_oprod_q31 (q31_t *aOutMat, const q31_t *aInMatA, const q31_t *aInMatB, uint32_t aM, uint32_t aN) |
Matrix Multiplication of two q31 vevtor. More... | |
The matrix outer product function computes the multiplication of two source vectors and writes the result into a destination matrix. Figure 5 shows the multiplication of vector A by vector B, in which vector A has 3 rows and vector B has 4 columns.
The outer product can be treated as a matrix multiplication in which source matrices Aij and Bjk have a constraint that the value of j must be 1, as shown below.
void tpt_mat_oprod_q31 | ( | q31_t * | aOutMat, |
const q31_t * | aInMatA, | ||
const q31_t * | aInMatB, | ||
uint32_t | aM, | ||
uint32_t | aN | ||
) |
Matrix Multiplication of two q31 vevtor.
[out] | aOutMat | points to the output matrix. |
[in] | aInMatA | points to the first input vector. |
[in] | aInMatB | points to the second input vector. |
[in] | aM | number of the first input matrix rows. |
[in] | aN | number of the second input matrix columns. |