LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Matrix Outer Product
Collaboration diagram for Matrix Outer Product:

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...
 

Detailed Description

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.

Figure 5. Vector A Multiply Vector B

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.

Function Documentation

◆ tpt_mat_oprod_q31()

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.

Parameters
[out]aOutMatpoints to the output matrix.
[in]aInMatApoints to the first input vector.
[in]aInMatBpoints to the second input vector.
[in]aMnumber of the first input matrix rows.
[in]aNnumber of the second input matrix columns.