Collaboration diagram for DSPF_sp_mat_mul:
void | DSPF_sp_mat_mul (float *x1, const int r1, const int c1, float *x2, const int c2, float *restrict y) |
void DSPF_sp_mat_mul | ( | float * | x1, | |
const int | r1, | |||
const int | c1, | |||
float * | x2, | |||
const int | c2, | |||
float *restrict | y | |||
) |
This function computes the expression “y = x1*x2” for the matrices x1 and x2. The column dimension of x1 must match the row dimension of x2. The resulting matrix has the same number of rows as x1 and the same number of columns as x2. The values stored in the matrices are assumed to be single-precision floating-point values. This code is suitable for dense matrices. No optimizations are made for sparse matrices.
x1 | = Pointer to r1 by c1 input matrix. | |
r1 | = Number of rows in x1. | |
c1 | = Number of columns in x1. Also number of rows in x2. | |
x2 | = Pointer to c1 by c2 input matrix. | |
c2 | = Number of columns in x2. | |
y | = Pointer to r1 by c2 output matrix. |